From 481197d752e5b8b49e65704815a0abd932906b18 Mon Sep 17 00:00:00 2001 From: "@CarlWachter" Date: Wed, 3 Jan 2024 11:08:24 +0100 Subject: [PATCH] Predeclaration of dummy namespace --- include/sta/rtos/system/can_bus.hpp | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/include/sta/rtos/system/can_bus.hpp b/include/sta/rtos/system/can_bus.hpp index 642f32d..17e25eb 100644 --- a/include/sta/rtos/system/can_bus.hpp +++ b/include/sta/rtos/system/can_bus.hpp @@ -110,11 +110,11 @@ namespace sta /** - * @brief Return CanController for use in CAN system task. + * @brief Return CAN_HandleTypeDef for use in CAN system task. * * Implementation must be provided by application. */ - extern STM32CanController * getCanController(); + extern CAN_HandleTypeDef * getCanController(); /** @} */ } // namespace rtos @@ -192,6 +192,14 @@ namespace sta } // namespace sta +namespace dummy +{ + void handleSysMessage(const sta::CanRxHeader & header, const uint8_t * payload); + + void handleDataMessage(const sta::IsotpMessage & msg); + +} // namespace dummy + #endif // STA_RTOS_CAN_BUS_ENABLE