mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-02 10:24:11 +01:00
OP-21/Flight Bootloader - Fixed an error introduced on last rev.
git-svn-id: svn://svn.openpilot.org/OpenPilot/trunk@1417 ebee16cc-31ac-478f-84a7-5cbb03baadba
This commit is contained in:
parent
08f2c5fd82
commit
7f76b7f5a0
@ -83,7 +83,7 @@ int main(void) {
|
||||
STM_EVAL_LEDOff(LED1);
|
||||
if(STOPWATCH_ValueGet()>100*pwm_period*pwm_sweep_steps)
|
||||
STOPWATCH_Reset();
|
||||
if(STOPWATCH_ValueGet()>50000)
|
||||
if(STOPWATCH_ValueGet()>50000 && DeviceState == idle)
|
||||
JumpToApp=TRUE;
|
||||
//DelayWithDown(10);//1000000);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user