1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 01:35:41 +03:00

Ensure sbus debug output is reset after failsafe/signal loss conditions.

This commit is contained in:
Dominic Clifton 2015-02-16 23:02:14 +00:00
parent 24ce82b280
commit c05b4c639b

View file

@ -226,6 +226,7 @@ bool sbusFrameComplete(void)
#ifdef DEBUG_SBUS_PACKETS #ifdef DEBUG_SBUS_PACKETS
sbusStateFlags = 0; sbusStateFlags = 0;
debug[0] = sbusStateFlags;
#endif #endif
return true; return true;
} }