mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/TACOS.git
synced 2025-06-10 00:25:59 +00:00
Changed CAN bus macros to be dependent on TACOS settings
This commit is contained in:
parent
6c92ad7735
commit
1c8891a357
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user