Currently we rebind the global handler for ALL UART (extended) Rx events, HAL_UARTEx_RxEventCallback. This should be changed to bind a user-defined function: HAL_UART_RegisterCallback(&huart1, HAL_UART_RX_COMPLETE_CB_ID, <function pointer goes here>)
Currently we rebind the global handler for ALL UART (extended) Rx events,
HAL_UARTEx_RxEventCallback
. This should be changed to bind a user-defined function:HAL_UART_RegisterCallback(&huart1, HAL_UART_RX_COMPLETE_CB_ID, <function pointer goes here>)