go to startup immediately
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good

This commit is contained in:
Robin Müller 2023-01-26 13:02:29 +01:00
parent 915f66f248
commit 9410902454
No known key found for this signature in database
GPG Key ID: 71B58F8A3CDFA9AC
2 changed files with 4 additions and 0 deletions

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