We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f069d49 commit 8d4b111Copy full SHA for 8d4b111
1 file changed
platforms/stm32h563/src/fdcan.c
@@ -28,7 +28,7 @@ HAL_StatusTypeDef can_init(can_t *can, FDCAN_HandleTypeDef *hcan)
28
}
29
30
/* Config BusOff interrupt. */
31
- HAL_StatusTypeDef status = HAL_FDCAN_ConfigInterruptLines(can->hcan, FDCAN_IT_BUS_OFF, FDCAN_INTERRUPT_LINE1);
+ status = HAL_FDCAN_ConfigInterruptLines(can->hcan, FDCAN_IT_BUS_OFF, FDCAN_INTERRUPT_LINE1);
32
if (status != HAL_OK)
33
{
34
printf("[fdcan.c/can_init()] ERROR: Failed to run HAL_FDCAN_ConfigInterruptLines(can->hcan, FDCAN_IT_BUS_OFF, FDCAN_INTERRUPT_LINE1); (Status: %d).\n", status);
0 commit comments