From 6954fc5497c6fea1c14bb75e644ec93842e2c7a8 Mon Sep 17 00:00:00 2001 From: Erick Ahmed Date: Sat, 4 Jul 2026 18:23:24 +0200 Subject: [PATCH] Add function prototype --- Core/Inc/cansend.h | 1 + Core/Src/canlog.c | 1 + 2 files changed, 2 insertions(+) diff --git a/Core/Inc/cansend.h b/Core/Inc/cansend.h index 7124050..53175ea 100644 --- a/Core/Inc/cansend.h +++ b/Core/Inc/cansend.h @@ -22,6 +22,7 @@ #include "main.h" +void uart_printf(const char *fmt, ...); void HAL_UART_TxCpltCallback(UART_HandleTypeDef *huart); void vUARTLogger(void *argument); diff --git a/Core/Src/canlog.c b/Core/Src/canlog.c index a8fbda6..580e9ea 100644 --- a/Core/Src/canlog.c +++ b/Core/Src/canlog.c @@ -18,6 +18,7 @@ #include "main.h" /* Private includes ----------------------------------------------------------*/ /* USER CODE BEGIN Includes */ +#include "cansend.h" #include "cmsis_os.h" #include /* USER CODE END Includes */