mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 01:05:27 +03:00
Fix bug intoduced in 0.1.6 which truncated the header in recorded logs
This commit is contained in:
parent
8435989dc1
commit
3ef83389e9
1 changed files with 3 additions and 2 deletions
|
@ -1187,6 +1187,7 @@ void handleBlackbox(void)
|
||||||
//On entry of this state, headerXmitIndex is 0
|
//On entry of this state, headerXmitIndex is 0
|
||||||
headerXmitIndex = blackboxWriteSysinfo(headerXmitIndex);
|
headerXmitIndex = blackboxWriteSysinfo(headerXmitIndex);
|
||||||
|
|
||||||
|
if (headerXmitIndex == -1)
|
||||||
blackboxSetState(BLACKBOX_STATE_PRERUN);
|
blackboxSetState(BLACKBOX_STATE_PRERUN);
|
||||||
break;
|
break;
|
||||||
case BLACKBOX_STATE_PRERUN:
|
case BLACKBOX_STATE_PRERUN:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue