mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-02 05:58:30 -04:00
desktop: don't start alarm till setup() has finished
This commit is contained in:
parent
811ec3ec58
commit
34af368b8a
@ -51,9 +51,6 @@ int main(int argc, char * const argv[])
|
||||
}
|
||||
|
||||
signal(SIGALRM, sig_alarm);
|
||||
if (!desktop_state.slider) {
|
||||
alarm(5);
|
||||
}
|
||||
|
||||
// run main setup() function from sketch
|
||||
setup();
|
||||
|
Loading…
Reference in New Issue
Block a user