Skip to content

Commit 056fdd0

Browse files
author
Eric Jennings
committed
Shorten the delay on ota reset
1 parent 1bacb16 commit 056fdd0

File tree

1 file changed

+2
-2
lines changed
  • hardware/pinoccio/avr/bootloaders/STK500RFR2/src

1 file changed

+2
-2
lines changed

hardware/pinoccio/avr/bootloaders/STK500RFR2/src/main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -636,14 +636,14 @@ int main(void)
636636

637637
if (mcuStatusReg & _BV(WDRF))
638638
{
639-
boot_timeout = 65000; //* should be about 5 seconds
639+
boot_timeout = 35000; //* should be about 5 seconds
640640
}
641641
else
642642
{
643643
boot_timeout = 10000; //* short delay for serial
644644
}
645645
#else
646-
boot_timeout = 65000; //* should be about 5 seconds
646+
boot_timeout = 35000; //* should be about 5 seconds
647647
#endif
648648

649649
boot_timer = 0;

0 commit comments

Comments
 (0)