Skip to content

Commit

Permalink
Fix Not Used mc
Browse files Browse the repository at this point in the history
  • Loading branch information
dnakhooda committed Oct 13, 2024
1 parent 8efbb6e commit 1668342
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Core/Src/can_handler.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,15 +144,15 @@ const osThreadAttr_t can_receive_attributes = {

void vCanReceive(void *pv_params)
{
dti_t *mc = (dti_t *)pv_params;
//dti_t *mc = (dti_t *)pv_params;

can_msg_t msg;

for (;;) {
osThreadFlagsWait(NEW_CAN_MSG_FLAG, osFlagsWaitAny, osWaitForever);
while (osOK == osMessageQueueGet(can_inbound_queue, &msg, 0U, 0U)) {
/* Print Receive Messages */
printf("Recieve: %s", msg.data);
printf("Recieve: %s", msg.data);x
}
}
}

0 comments on commit 1668342

Please sign in to comment.