STM32L4 : remove warning

This is the MBED current implementation, no need to warn
pull/15193/head
Jerome Coutant 2021-12-10 14:30:01 +01:00
parent b5e28baf45
commit 999d98a3d7
1 changed files with 2 additions and 1 deletions

View File

@ -104,7 +104,8 @@
#error 'The HAL CAN driver cannot be used with its legacy, Please ensure to enable only one HAL CAN module at once in stm32l4xx_hal_conf.h file'
#endif /* HAL_CAN_MODULE_ENABLED */
#warning 'Legacy HAL CAN driver is enabled! It can be used with known limitations, refer to the release notes. However it is recommended to use rather the new HAL CAN driver'
// MBED current implementation
// #warning 'Legacy HAL CAN driver is enabled! It can be used with known limitations, refer to the release notes. However it is recommended to use rather the new HAL CAN driver'
#if defined(CAN1)