Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
dyldonahue committed Dec 7, 2023
1 parent 63c708e commit a7d7a4b
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 @@ -37,7 +37,7 @@ HAL_StatusTypeDef can_init(can_t *can)

uint8_t err = 0;
err = HAL_CAN_ConfigFilter(&hcan, &sFilterConfig) != HAL_OK);
if (err != HAL_OK) {return err;}
if (err != HAL_OK) return err;

/* set up interrupt & activate CAN */
err = HAL_CAN_Start(can->hcan);
Expand Down

0 comments on commit a7d7a4b

Please sign in to comment.