mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-22 06:14:14 +08:00
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:
committed by
Daniel Agar
parent
13246bdb2c
commit
157aa36c1e
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user