Skip to content

Commit

Permalink
Fix incorrect check from last commit on stm32F11
Browse files Browse the repository at this point in the history
  • Loading branch information
noisymime committed Oct 13, 2023
1 parent 059f4b3 commit 7cca27e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions speeduino/board_stm32_official.h
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,7 @@
#include "stm32f3xx_ll_tim.h"
#elif defined(STM32F4)
#include "stm32f4xx_ll_tim.h"
#include "stm32f4xx_hal_can.h"
#ifndef HAL_CAN_MODULE_ENABLED
#if defined(STM32F407xx) && !defined(HAL_CAN_MODULE_ENABLED)
#warning "CAN module is not enabled. Internal CAN will NOT be available"
#endif
#else /*Default should be STM32F4*/
Expand Down

0 comments on commit 7cca27e

Please sign in to comment.