1
0
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:
zedamota 2010-08-26 16:26:51 +00:00 committed by zedamota
parent 08f2c5fd82
commit 7f76b7f5a0

View File

@ -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);
}