diff options
Diffstat (limited to 'apps/main.c')
-rw-r--r-- | apps/main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/apps/main.c b/apps/main.c index 537c3da4dc..5a47e720e0 100644 --- a/apps/main.c +++ b/apps/main.c | |||
@@ -277,7 +277,7 @@ void init(void) | |||
277 | 277 | ||
278 | #ifdef AUTOROCK | 278 | #ifdef AUTOROCK |
279 | if (!usb_detect()) | 279 | if (!usb_detect()) |
280 | { | 280 | { |
281 | int fd; | 281 | int fd; |
282 | static const char filename[] = PLUGIN_DIR "/autostart.rock"; | 282 | static const char filename[] = PLUGIN_DIR "/autostart.rock"; |
283 | 283 | ||
@@ -303,8 +303,10 @@ int main(void) | |||
303 | app_main(); | 303 | app_main(); |
304 | 304 | ||
305 | while(1) { | 305 | while(1) { |
306 | #if CONFIG_LED == LED_REAL | ||
306 | led(true); sleep(HZ/10); | 307 | led(true); sleep(HZ/10); |
307 | led(false); sleep(HZ/10); | 308 | led(false); sleep(HZ/10); |
309 | #endif | ||
308 | } | 310 | } |
309 | return 0; | 311 | return 0; |
310 | } | 312 | } |