desktop: don't start alarm till setup() has finished

This commit is contained in:
Andrew Tridgell 2011-11-10 16:23:49 +11:00
parent 811ec3ec58
commit 34af368b8a

View File

@ -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();