diff options
Diffstat (limited to 'demos/STM32/RT-STM32L476-DISCOVERY/main.c')
-rw-r--r-- | demos/STM32/RT-STM32L476-DISCOVERY/main.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/demos/STM32/RT-STM32L476-DISCOVERY/main.c b/demos/STM32/RT-STM32L476-DISCOVERY/main.c index f68a533e6..092987da9 100644 --- a/demos/STM32/RT-STM32L476-DISCOVERY/main.c +++ b/demos/STM32/RT-STM32L476-DISCOVERY/main.c @@ -17,6 +17,7 @@ #include "ch.h"
#include "hal.h"
#include "rt_test_root.h"
+#include "oslib_test_root.h"
/*
* LEDs blinker thread, times are in milliseconds.
@@ -68,8 +69,10 @@ int main(void) { * sleeping in a loop and check the button state.
*/
while (true) {
- if (palReadLine(LINE_JOY_CENTER))
+ if (palReadLine(LINE_JOY_CENTER)) {
test_execute((BaseSequentialStream *)&SD2, &rt_test_suite);
+ test_execute((BaseSequentialStream *)&SD2, &oslib_test_suite);
+ }
chThdSleepMilliseconds(500);
}
}
|