Move typedef to header

This commit is contained in:
2026-06-14 16:15:33 +02:00
parent 4aafa81009
commit 8777f742ac
2 changed files with 6 additions and 6 deletions
+6
View File
@@ -29,6 +29,12 @@ extern osMessageQueueId_t xCAN2RxQueue;
extern osSemaphoreId_t xLEDSemaphoreCAN1;
extern osSemaphoreId_t xLEDSemaphoreCAN2;
typedef struct {
LED_Config *led;
osSemaphoreId_t semaphore;
osTimerId_t timer;
} LEDContext;
/**
* @brief Initializes the CAN logger modules, OS threads, queues, and hardware.
* @param hcan1 Pointer to the CAN1 handle