diff options
Diffstat (limited to 'testhal')
-rw-r--r-- | testhal/STM32/halconf.h | 6 | ||||
-rw-r--r-- | testhal/STM32/main.c | 1 |
2 files changed, 4 insertions, 3 deletions
diff --git a/testhal/STM32/halconf.h b/testhal/STM32/halconf.h index 1e9621dcb..77e2eb0a4 100644 --- a/testhal/STM32/halconf.h +++ b/testhal/STM32/halconf.h @@ -46,14 +46,14 @@ * @brief Enables the ADC subsystem.
*/
#if !defined(CH_HAL_USE_ADC) || defined(__DOXYGEN__)
-#define CH_HAL_USE_ADC FALSE
+#define CH_HAL_USE_ADC TRUE
#endif
/**
* @brief Enables the CAN subsystem.
*/
#if !defined(CH_HAL_USE_CAN) || defined(__DOXYGEN__)
-#define CH_HAL_USE_CAN FALSE
+#define CH_HAL_USE_CAN TRUE
#endif
/**
@@ -81,7 +81,7 @@ * @brief Enables the SPI subsystem.
*/
#if !defined(CH_HAL_USE_SPI) || defined(__DOXYGEN__)
-#define CH_HAL_USE_SPI FALSE
+#define CH_HAL_USE_SPI TRUE
#endif
/**
diff --git a/testhal/STM32/main.c b/testhal/STM32/main.c index d566c7546..3298ea770 100644 --- a/testhal/STM32/main.c +++ b/testhal/STM32/main.c @@ -210,6 +210,7 @@ int main(int argc, char **argv) { chThdTerminate(spitp);
chThdWait(spitp);
#endif
+ chThdSleepMilliseconds(500);
TestThread(&SD2);
chThdSleepMilliseconds(500);
chSysHalt();
|