mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/rtos2-utils.git
synced 2025-06-10 18:15:59 +00:00
CAN Bus is no longer RTOS
This commit is contained in:
parent
e90620c2d8
commit
16f33857f7
@ -19,12 +19,12 @@
|
|||||||
*
|
*
|
||||||
* @ingroup STA_RTOS_BuildConfig
|
* @ingroup STA_RTOS_BuildConfig
|
||||||
*/
|
*/
|
||||||
# define STA_RTOS_CAN_BUS_ENABLE
|
# define STA_CAN_BUS_ENABLE
|
||||||
#endif // DOXYGEN
|
#endif // DOXYGEN
|
||||||
|
|
||||||
|
|
||||||
#include <sta/config.hpp>
|
#include <sta/config.hpp>
|
||||||
#ifdef STA_RTOS_CAN_BUS_ENABLE
|
#ifdef STA_CAN_BUS_ENABLE
|
||||||
|
|
||||||
#include <sta/bus/can/controller.hpp>
|
#include <sta/bus/can/controller.hpp>
|
||||||
#include <sta/devices/stm32/can.hpp>
|
#include <sta/devices/stm32/can.hpp>
|
||||||
@ -210,6 +210,6 @@ namespace debug
|
|||||||
void printPayloadHex(const uint8_t * payload, uint8_t size);
|
void printPayloadHex(const uint8_t * payload, uint8_t size);
|
||||||
} // namespace debug
|
} // namespace debug
|
||||||
|
|
||||||
#endif // STA_RTOS_CAN_BUS_ENABLE
|
#endif // STA_CAN_BUS_ENABLE
|
||||||
|
|
||||||
#endif // STA_RTOS_SYSTEM_CAN_BUS_HPP
|
#endif // STA_RTOS_SYSTEM_CAN_BUS_HPP
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <sta/config.hpp>
|
#include <sta/config.hpp>
|
||||||
#ifdef STA_RTOS_CAN_BUS_ENABLE
|
#ifdef STA_CAN_BUS_ENABLE
|
||||||
|
|
||||||
#include <sta/debug/assert.hpp>
|
#include <sta/debug/assert.hpp>
|
||||||
#include <sta/debug/debug.hpp>
|
#include <sta/debug/debug.hpp>
|
||||||
@ -220,4 +220,4 @@ namespace sta
|
|||||||
}
|
}
|
||||||
} // namespace sta
|
} // namespace sta
|
||||||
|
|
||||||
#endif // STA_RTOS_CAN_BUS_ENABLE
|
#endif // STA_CAN_BUS_ENABLE
|
||||||
|
@ -32,9 +32,6 @@ namespace sta
|
|||||||
initWatchdog();
|
initWatchdog();
|
||||||
#endif // STA_RTOS_WATCHDOG_ENABLE
|
#endif // STA_RTOS_WATCHDOG_ENABLE
|
||||||
|
|
||||||
#ifdef STA_RTOS_CAN_BUS_ENABLE
|
|
||||||
initCanBus();
|
|
||||||
#endif // STA_RTOS_CAN_BUS_ENABLE
|
|
||||||
}
|
}
|
||||||
} // namespace rtos
|
} // namespace rtos
|
||||||
} // namespace sta
|
} // namespace sta
|
||||||
|
Loading…
x
Reference in New Issue
Block a user