Skip to content

Commit 8be2042

Browse files
authored
Merge pull request #90 from stanford-ssi/devYaoYH-patch-startup-debounce
Add minor 5s delay before boot.
2 parents 5fb91d2 + e4b58c1 commit 8be2042

1 file changed

Lines changed: 3 additions & 6 deletions

File tree

src/main.c

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,13 +22,10 @@
2222
int main()
2323
{
2424
/*
25-
* In debug builds, delay to allow the user to connect to open the serial
26-
* port.
25+
* Brief delay after reboot/powering up due to power spikes to prevent
26+
* deployment when satellite is still within the launch mechanism.
2727
*/
28-
if (!IS_FLIGHT)
29-
{
30-
sleep_ms(5000);
31-
}
28+
sleep_ms(5000);
3229

3330
/*
3431
* Initialize persistent data or load existing data if already in flash.

0 commit comments

Comments
 (0)