From c7a158233872f963344bd1a0c57fdfbd559aed57 Mon Sep 17 00:00:00 2001 From: Giovanni Di Sirio Date: Sun, 28 May 2017 14:42:44 +0000 Subject: Fixed broken F107 USB demo. git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@10213 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h') diff --git a/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h b/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h index 63c29ccef..e2c5b4d82 100644 --- a/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h +++ b/testhal/STM32/STM32F1xx/USB_CDC_F107/halconf.h @@ -30,6 +30,13 @@ #include "mcuconf.h" +/** + * @brief Enables the TM subsystem. + */ +#if !defined(HAL_USE_TM) || defined(__DOXYGEN__) +#define HAL_USE_TM FALSE +#endif + /** * @brief Enables the PAL subsystem. */ @@ -97,7 +104,7 @@ * @brief Enables the MAC subsystem. */ #if !defined(HAL_USE_MAC) || defined(__DOXYGEN__) -#define HAL_USE_MAC FALSE +#define HAL_USE_MAC TRUE #endif /** -- cgit v1.2.3