From 2a3d5d17b3aa9ff92bb78057485ae817826e83ab Mon Sep 17 00:00:00 2001 From: Erick Ahmed Date: Sun, 14 Jun 2026 16:08:37 +0200 Subject: [PATCH] Remove unnecessary declarations --- Core/Inc/canlog.h | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/Core/Inc/canlog.h b/Core/Inc/canlog.h index 86ec046..3effcc3 100644 --- a/Core/Inc/canlog.h +++ b/Core/Inc/canlog.h @@ -24,20 +24,10 @@ #include "main.h" -/* Decladerations for queues */ extern osMessageQueueId_t xCAN1RxQueue; extern osMessageQueueId_t xCAN2RxQueue; - -/* Decladerations for thread handles and attributes */ -extern osThreadId_t vCAN1_rx; -extern osThreadId_t vCAN2_rx; -extern osThreadId_t vLED_CAN1_Heartbeat; -extern osThreadId_t vLED_CAN2_Heartbeat; - -extern const osThreadAttr_t vCAN1_rx_attributes; -extern const osThreadAttr_t vCAN2_rx_attributes; -extern const osThreadAttr_t vLED_CAN1_Heartbeat_attributes; -extern const osThreadAttr_t vLED_CAN2_Heartbeat_attributes; +extern osSemaphoreId_t xLEDSemaphoreCAN1; +extern osSemaphoreId_t xLEDSemaphoreCAN2; /** * @brief Initializes the CAN logger modules, OS threads, queues, and hardware.