Skip to content

Commit

Permalink
Fix the OS wait time in vCanDispatch (#145)
Browse files Browse the repository at this point in the history
  • Loading branch information
jr1221 authored Dec 5, 2024
1 parent 878457d commit 31400f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Core/Src/can_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -263,7 +263,7 @@ void vCanDispatch(void *pv_params)

for (;;) {
osThreadFlagsWait(CAN_DISPATCH_FLAG, osFlagsWaitAny,
osFlagsWaitAny);
osWaitForever);

/* Send all CAN messages in the queue */
while (osOK == osMessageQueueGet(can_outbound_queue,
Expand Down

0 comments on commit 31400f3

Please sign in to comment.