Update CAN bus tasks

This commit is contained in:
2026-07-05 22:29:32 +02:00
parent e32f501285
commit 79ef4c5fdb
+3
View File
@@ -196,6 +196,9 @@ int main(void)
xUartTask = osThreadNew(vUARTLogger, NULL, &UartLoggerAttributes);
xCAN1LedTask = osThreadNew(vLEDHeartbeat, &led_can1, &LEDHeartbeatCAN1Attributes);
xCAN2LedTask = osThreadNew(vLEDHeartbeat, &led_can2, &LEDHeartbeatCAN2Attributes);
if (xCAN1rxTask == NULL || xCAN2rxTask == NULL || xUartTask == NULL ||
xCAN1LedTask == NULL || xCAN2LedTask == NULL) Error_Handler();
/* USER CODE END RTOS_THREADS */
/* USER CODE BEGIN RTOS_EVENTS */