Skip to content

Commit 29b1a24

Browse files
committed
fix
1 parent ffb1970 commit 29b1a24

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Core/Src/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ void HAL_FDCAN_RxFifo0Callback(FDCAN_HandleTypeDef *hfdcan, uint32_t RxFifo0ITs)
126126
/* Get the message. */
127127
HAL_StatusTypeDef status = HAL_FDCAN_GetRxMessage(hfdcan, FDCAN_RX_FIFO0, &rx_header, message.data);
128128
if (status != HAL_OK) {
129-
PRINTLN_ERROR("Failed to call HAL_FDCAN_GetRxMessage() (Status: %ld/%s).", status, hal_status_toString(status));
129+
PRINTLN_ERROR("Failed to call HAL_FDCAN_GetRxMessage() (Status: %d/%s).", status, hal_status_toString(status));
130130
return;
131131
}
132132

0 commit comments

Comments
 (0)