aboutsummaryrefslogtreecommitdiffstats
path: root/demos/AVR/RT-ARDUINO-MEGA/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'demos/AVR/RT-ARDUINO-MEGA/main.c')
-rw-r--r--demos/AVR/RT-ARDUINO-MEGA/main.c12
1 files changed, 5 insertions, 7 deletions
diff --git a/demos/AVR/RT-ARDUINO-MEGA/main.c b/demos/AVR/RT-ARDUINO-MEGA/main.c
index 8380124b7..3c67355fd 100644
--- a/demos/AVR/RT-ARDUINO-MEGA/main.c
+++ b/demos/AVR/RT-ARDUINO-MEGA/main.c
@@ -1,5 +1,5 @@
/*
- ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio
+ ChibiOS - Copyright (C) 2006..2018 Giovanni Di Sirio
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
@@ -16,9 +16,10 @@
#include "ch.h"
#include "hal.h"
-#include "rt_test_root.h"
-#include "oslib_test_root.h"
+/*
+ * LED blinker thread, times are in milliseconds.
+ */
static THD_WORKING_AREA(waThread1, 32);
static THD_FUNCTION(Thread1, arg) {
@@ -57,10 +58,7 @@ int main(void) {
*/
chThdCreateStatic(waThread1, sizeof(waThread1), NORMALPRIO, Thread1, NULL);
- test_execute((BaseSequentialStream *)&SD1, &rt_test_suite);
- test_execute((BaseSequentialStream *)&SD1, &oslib_test_suite);
-
- while(TRUE) {
+ while (true) {
chThdSleepMilliseconds(1000);
}
}