Skip to content

RoboHeartBLECarControl.ino file need modification #6

@sporubcan

Description

@sporubcan

Need to change set order of following two flags (bleNewStatusReceived must not be first, because loop and callbacks are running on different CPU threads):

Correct order of flag set for both callback is:
void bleDisconnected() { bleDeviceConnected = false; bleNewStatusReceived = true; ...
and
void bleConnected() { bleDeviceConnected = true; bleNewStatusReceived = true; ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions