aboutsummaryrefslogtreecommitdiffstats
path: root/demos/AVR/TEST-SUITE-OSLIB/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/AVR/TEST-SUITE-OSLIB/main.c')
-rw-r--r--demos/AVR/TEST-SUITE-OSLIB/main.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/demos/AVR/TEST-SUITE-OSLIB/main.c b/demos/AVR/TEST-SUITE-OSLIB/main.c
index 28ce40563..e9b12e078 100644
--- a/demos/AVR/TEST-SUITE-OSLIB/main.c
+++ b/demos/AVR/TEST-SUITE-OSLIB/main.c
@@ -18,6 +18,9 @@
#include "hal.h"
#include "oslib_test_root.h"
+/*
+ * LED blinker thread, times are in milliseconds.
+ */
static THD_WORKING_AREA(waThread1, 32);
static THD_FUNCTION(Thread1, arg) {
@@ -44,8 +47,6 @@ int main(void) {
halInit();
chSysInit();
- palClearPad(IOPORT2, PORTB_LED1);
-
/*
* Activates the serial driver 1 using the driver default configuration.
*/
@@ -61,7 +62,7 @@ int main(void) {
*/
test_execute((BaseSequentialStream *)&SD1, &oslib_test_suite);
- while(TRUE) {
+ while (TRUE) {
chThdSleepMilliseconds(1000);
}
}