mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2025-04-08 00:53:48 +02: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);
|
STM_EVAL_LEDOff(LED1);
|
||||||
if(STOPWATCH_ValueGet()>100*pwm_period*pwm_sweep_steps)
|
if(STOPWATCH_ValueGet()>100*pwm_period*pwm_sweep_steps)
|
||||||
STOPWATCH_Reset();
|
STOPWATCH_Reset();
|
||||||
if(STOPWATCH_ValueGet()>50000)
|
if(STOPWATCH_ValueGet()>50000 && DeviceState == idle)
|
||||||
JumpToApp=TRUE;
|
JumpToApp=TRUE;
|
||||||
//DelayWithDown(10);//1000000);
|
//DelayWithDown(10);//1000000);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user