Syrlinks Update #353

Merged
muellerr merged 24 commits from refactor_syrlinks into develop 2023-01-26 19:18:33 +01:00
2 changed files with 4 additions and 0 deletions
Showing only changes of commit 9410902454 - Show all commits

View File

@ -21,6 +21,9 @@ list yields a list of all related PRs for each release.
- `SyrlinksHkHandler` renamed to `SyrlinksHandler` to better reflect that it does more than - `SyrlinksHkHandler` renamed to `SyrlinksHandler` to better reflect that it does more than
just HK and is also responsible for setting the TX mode of the device. just HK and is also responsible for setting the TX mode of the device.
PR: https://egit.irs.uni-stuttgart.de/eive/eive-obsw/pulls/353 PR: https://egit.irs.uni-stuttgart.de/eive/eive-obsw/pulls/353
- `SyrlinksHandler`: Go to normal mode at startup.
- `SyrlinksHandler`: Go to startup immediately because the Syrlinks device should always be on
by default.
## Added ## Added

View File

@ -589,6 +589,7 @@ void ObjectFactory::createSyrlinksComponents(PowerSwitchIF* pwrSwitcher) {
new SyrlinksHandler(objects::SYRLINKS_HK_HANDLER, objects::UART_COM_IF, syrlinksUartCookie, new SyrlinksHandler(objects::SYRLINKS_HK_HANDLER, objects::UART_COM_IF, syrlinksUartCookie,
pcdu::PDU1_CH1_SYRLINKS_12V, syrlinksFdir); pcdu::PDU1_CH1_SYRLINKS_12V, syrlinksFdir);
syrlinksHandler->setPowerSwitcher(pwrSwitcher); syrlinksHandler->setPowerSwitcher(pwrSwitcher);
syrlinksHandler->setStartUpImmediately();
#if OBSW_DEBUG_SYRLINKS == 1 #if OBSW_DEBUG_SYRLINKS == 1
syrlinksHandler->setDebugMode(true); syrlinksHandler->setDebugMode(true);
#endif #endif