diff options
Diffstat (limited to 'demos/STM32/RT-STM32F072-DISCOVERY')
-rw-r--r-- | demos/STM32/RT-STM32F072-DISCOVERY/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/STM32/RT-STM32F072-DISCOVERY/main.c b/demos/STM32/RT-STM32F072-DISCOVERY/main.c index 63892fa69..a46f0ecce 100644 --- a/demos/STM32/RT-STM32F072-DISCOVERY/main.c +++ b/demos/STM32/RT-STM32F072-DISCOVERY/main.c @@ -16,7 +16,7 @@ #include "ch.h"
#include "hal.h"
-#include "test.h"
+#include "ch_test.h"
/*
* Blue LED blinker thread, times are in milliseconds.
@@ -87,7 +87,7 @@ int main(void) { */
while (true) {
if (palReadPad(GPIOA, GPIOA_BUTTON))
- TestThread(&SD1);
+ test_execute((BaseSequentialStream *)&SD1);
chThdSleepMilliseconds(500);
}
}
|