Resolved! enum declaration errors trying to compile a CAN app using stm32f4xx_hal_can.c
I'm building a CAN app with STM32CUBEMX and TrueStudio. I'm using interrupts so need to register my calback funcs. I put #define USE_HAL_CAN_REGISTER_CALLBACKS 1 at the top of main.h. The following line in my code:HAL_CAN_RegisterCallback(&hcan1, HAL...