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

Fix bug intoduced in 0.1.6 which truncated the header in recorded logs

This commit is contained in:
Nicholas Sherlock 2014-12-30 20:12:30 +13:00
parent 8435989dc1
commit 3ef83389e9

View file

@ -1187,6 +1187,7 @@ void handleBlackbox(void)
//On entry of this state, headerXmitIndex is 0
headerXmitIndex = blackboxWriteSysinfo(headerXmitIndex);
if (headerXmitIndex == -1)
blackboxSetState(BLACKBOX_STATE_PRERUN);
break;
case BLACKBOX_STATE_PRERUN: