Remove complex timer based toggling and switch to RTOS task with semaphore based delay #18

Merged
eeeck merged 7 commits from dev-rtos-semaphore into main 2026-06-15 14:33:39 +02:00
Showing only changes of commit 8c8fe93d5b - Show all commits
+3
View File
@@ -85,6 +85,9 @@ void HAL_CAN_RxFifo0MsgPendingCallback(CAN_HandleTypeDef *hcan)
// send errors like queue full via UART
}
osSemaphoreId_t semaphore = (hcan->Instance == CAN1) ? xSemaphoreCAN1 : xSemaphoreCAN2;
osSemaphoreRelease(semaphore);
/* CODE END */
}
/* END HAL_CAN_RxFifo0MsgPendingCallback */