From 34af368b8ae6d07444bd48d80fc2b8df9b763d25 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 10 Nov 2011 16:23:49 +1100 Subject: [PATCH] desktop: don't start alarm till setup() has finished --- libraries/Desktop/support/main.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/libraries/Desktop/support/main.cpp b/libraries/Desktop/support/main.cpp index b380cfda7e..d18d17c712 100644 --- a/libraries/Desktop/support/main.cpp +++ b/libraries/Desktop/support/main.cpp @@ -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();