Skip to content

Commit

Permalink
Fixed Error
Browse files Browse the repository at this point in the history
  • Loading branch information
dnakhooda committed Oct 31, 2024
1 parent cefabad commit fd84833
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/stm32f405/src/can.c
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ HAL_StatusTypeDef can_init(can_t *can) {
/* set up interrupt & activate CAN */
HAL_CAN_IRQHandler(can->hcan);

err = HAL_CAN_ActivateNotification(can->hcan,
int8_t err = HAL_CAN_ActivateNotification(can->hcan,
CAN_IT_RX_FIFO0_MSG_PENDING);
if (err != HAL_OK)
return err;
Expand Down

0 comments on commit fd84833

Please sign in to comment.