Predeclaration of dummy namespace

This commit is contained in:
@CarlWachter 2024-01-03 11:08:24 +01:00
parent 26062cec87
commit 481197d752

View File

@ -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