WindhoverLabs / airliner

7 stars 3 forks source link

LD app sent wrong Event ID when Freefall and GroundContact was detected #347

Open ynielson opened 1 year ago

ynielson commented 1 year ago

When I manipulated the code by force and set the Freefall state and GroundContact state TRUE, the app sent wrong Event ID for each of this event message. The event IDs are switched for these two event messages in function, DetectAndSendStateChangeEvent(). "LD_GROUNDCONTACT_DETECTED_EID" and "LD_FREEFALL_DETECTED_EID"