Move CAN bus related tasks and definition to canlog.h

This commit was merged in pull request #4.
This commit is contained in:
2026-06-03 23:30:24 +02:00
parent 1ed727fa9e
commit 74cc33d0a9
4 changed files with 59 additions and 40 deletions
+13
View File
@@ -0,0 +1,13 @@
#ifndef CANLOG_H
#define CANLOG_H
#include "main.h"
/**
* @brief Initializes the CAN logger modules, OS threads, queues, and hardware.
* @param hcan1 Pointer to the CAN1 handle
* @param hcan2 Pointer to the CAN2 handle
*/
void CAN_Logger_Init(CAN_HandleTypeDef *hcan1, CAN_HandleTypeDef *hcan2);
#endif /* CANLOG_H */