mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/TACOS.git
synced 2025-08-06 09:37:34 +00:00
Changed CAN bus macros to be dependent on TACOS settings
This commit is contained in:
@@ -124,7 +124,7 @@ namespace sta
|
||||
}
|
||||
#endif // STA_TACOS_WATCHDOG_ENABLED
|
||||
|
||||
#ifdef STA_CAN_BUS_ENABLE
|
||||
#ifdef STA_TACOS_CAN_BUS_ENABLE
|
||||
/**
|
||||
* @brief Function that is called before the Can Bus task is started. Override it to adjust
|
||||
* the Can bus to your specifications.
|
||||
@@ -141,7 +141,7 @@ namespace sta
|
||||
|
||||
CanBus::instance()->start();
|
||||
}
|
||||
#endif //STA_CAN_BUS_ENABLE
|
||||
#endif //STA_TACOS_CAN_BUS_ENABLE
|
||||
} // namespace tacos
|
||||
|
||||
|
||||
@@ -162,9 +162,9 @@ namespace sta
|
||||
tacos::initWatchdog();
|
||||
#endif // STA_TACOS_WATCHDOG_ENABLED
|
||||
|
||||
#ifdef STA_CAN_BUS_ENABLE
|
||||
#ifdef STA_TACOS_CAN_BUS_ENABLE
|
||||
tacos::initCanBus();
|
||||
#endif // STA_CAN_BUS_ENABLE
|
||||
#endif // STA_TACOS_CAN_BUS_ENABLE
|
||||
}
|
||||
} // namespace rtos
|
||||
} // namespace sta
|
||||
|
Reference in New Issue
Block a user