1
0
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:
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); 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);
} }