From 3c6e44821cf0f241a289343f7aad2eb0c52879d8 Mon Sep 17 00:00:00 2001 From: Erick Ahmed Date: Wed, 3 Jun 2026 23:58:55 +0200 Subject: [PATCH] Add extern declaration for CAN handles --- Core/Src/canlog.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Core/Src/canlog.c b/Core/Src/canlog.c index 8efc726..b9ccf76 100644 --- a/Core/Src/canlog.c +++ b/Core/Src/canlog.c @@ -2,6 +2,9 @@ #include "cmsis_os.h" #include +extern CAN_HandleTypeDef hcan1; +extern CAN_HandleTypeDef hcan2; + /* Definitions for canBus1Listen */ osThreadId_t canBus1ListenHandle; const osThreadAttr_t canBus1Listen_attributes = {