Fix incorrect check from last commit on stm32F11
This commit is contained in:
parent
059f4b3adf
commit
7cca27ee28
|
@ -22,8 +22,7 @@
|
||||||
#include "stm32f3xx_ll_tim.h"
|
#include "stm32f3xx_ll_tim.h"
|
||||||
#elif defined(STM32F4)
|
#elif defined(STM32F4)
|
||||||
#include "stm32f4xx_ll_tim.h"
|
#include "stm32f4xx_ll_tim.h"
|
||||||
#include "stm32f4xx_hal_can.h"
|
#if defined(STM32F407xx) && !defined(HAL_CAN_MODULE_ENABLED)
|
||||||
#ifndef HAL_CAN_MODULE_ENABLED
|
|
||||||
#warning "CAN module is not enabled. Internal CAN will NOT be available"
|
#warning "CAN module is not enabled. Internal CAN will NOT be available"
|
||||||
#endif
|
#endif
|
||||||
#else /*Default should be STM32F4*/
|
#else /*Default should be STM32F4*/
|
||||||
|
|
Loading…
Reference in New Issue