mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/TACOS.git
synced 2025-08-06 09:37:34 +00:00
Small bugfix and adapted naming
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#include <sta/config.hpp>
|
||||
#ifdef STA_CAN_BUS_ENABLE
|
||||
#ifdef STA_TACOS_CAN_BUS_ENABLED
|
||||
|
||||
#include <sta/tacos/can_bus.hpp>
|
||||
#include <sta/debug/assert.hpp>
|
||||
@@ -161,4 +161,4 @@ namespace sta {
|
||||
} // namespace tacos
|
||||
} // namespace sta
|
||||
|
||||
#endif // STA_CAN_BUS_ENABLE
|
||||
#endif // STA_TACOS_CAN_BUS_ENABLED
|
||||
|
@@ -26,6 +26,7 @@ namespace sta
|
||||
Statemachine::instance()->requestTimedStateTransition(from, to, millis, lockout);
|
||||
}
|
||||
|
||||
#ifdef STA_TACOS_CAN_BUS_ENABLED
|
||||
bool queueCanBusMsg(CanSysMsg & msg, uint32_t timeout){
|
||||
return CanBus::instance()->queueCanBusMsg(msg, timeout);
|
||||
}
|
||||
@@ -42,6 +43,7 @@ namespace sta
|
||||
|
||||
return CanBus::instance()->queueCanBusMsg(msg, lockout);
|
||||
}
|
||||
#endif // STA_TACOS_CAN_BUS_ENABLED
|
||||
} // namespace tacos
|
||||
|
||||
} // namespace sta
|
||||
|
Reference in New Issue
Block a user