mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-08 17:03:57 -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);
|
signal(SIGALRM, sig_alarm);
|
||||||
if (!desktop_state.slider) {
|
|
||||||
alarm(5);
|
|
||||||
}
|
|
||||||
|
|
||||||
// run main setup() function from sketch
|
// run main setup() function from sketch
|
||||||
setup();
|
setup();
|
||||||
|
Loading…
Reference in New Issue
Block a user