mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +01:00
Fix FirmwareIAP module, as it failed to reset the board if the object was queried before for other purposes.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@3080 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
1ef9eceac5
commit
bce3d21a0f
@ -185,6 +185,7 @@ static void FirmwareIAPCallback(UAVObjEvent* ev)
|
||||
break;
|
||||
default:
|
||||
iap_state = IAP_STATE_READY;
|
||||
last_time = 0; // Reset the time counter, as we are not doing a IAP reset
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user