NuttX based bootloader:Track QGC change in sequnsing

It appear that QGC is now resyncing between operation.
   This was causing the bl_state to be reset to STATE_PROTO_GET_SYNC
   and loosing the state of (STATE_PROTO_GET_SYNC|STATE_PROTO_GET_DEVICE)
This commit is contained in:
David Sidrane 2020-08-13 06:51:23 -07:00 committed by Daniel Agar
parent 13246bdb2c
commit 157aa36c1e

View File

@ -588,7 +588,7 @@ bootloader(unsigned timeout)
goto cmd_bad;
}
bl_state = STATE_PROTO_GET_SYNC;
SET_BL_STATE(STATE_PROTO_GET_SYNC);
break;
// get device info