Small bugfix and adapted naming

This commit is contained in:
dario
2024-05-22 11:04:54 +02:00
parent 6933decf26
commit 556a8c91a4
4 changed files with 11 additions and 5 deletions

View File

@@ -3,7 +3,7 @@
#include <sta/config.hpp>
#ifdef STA_CAN_BUS_ENABLE
#ifdef STA_TACOS_CAN_BUS_ENABLED
#include <sta/rtos/queue.hpp>
#include <sta/rtos/system/can_bus.hpp>
@@ -13,6 +13,9 @@
#include <sta/tacos/thread.hpp>
#include <sta/tacos/statemachine.hpp>
#ifndef STA_STM32_CAN_ENABLED
# error "CAN has to be enabled in the IOC first"
#endif // STA_STM32_CAN_ENABLED
/**
* @defgroup tacos_can_bus Can Bus Task
@@ -117,5 +120,5 @@ namespace sta
} /* namespace sta */
#endif /* STA_CAN_BUS_ENABLE */
#endif /* STA_TACOS_CAN_BUS_ENABLED */
#endif /* INCLUDE_TACOS_CAN_BUS_HPP_ */