diff options
-rw-r--r-- | demos/AVR/RT-ARDUINOMEGA/main.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/demos/AVR/RT-ARDUINOMEGA/main.c b/demos/AVR/RT-ARDUINOMEGA/main.c index a2563d2a9..23fdbddf6 100644 --- a/demos/AVR/RT-ARDUINOMEGA/main.c +++ b/demos/AVR/RT-ARDUINOMEGA/main.c @@ -43,10 +43,11 @@ int main(void) { halInit();
chSysInit();
+ palClearPad(IOPORT2, PORTB_LED1);
+
/*
* Activates the serial driver 1 using the driver default configuration.
*/
- palClearPad(IOPORT2, PORTB_LED1);
sdStart(&SD1, NULL);
/*
|