direct transition to normal works again
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
All checks were successful
EIVE/eive-obsw/pipeline/pr-develop This commit looks good
This commit is contained in:
parent
d8f84ed00d
commit
881a03fbed
2
fsfw
2
fsfw
@ -1 +1 @@
|
||||
Subproject commit 43fd0b2f59c3aeb2d3f4db10cfad56ee3709d68d
|
||||
Subproject commit 227524a21da755d125bcb1a5ff67bcbc452f8cf9
|
@ -716,6 +716,9 @@ void StarTrackerHandler::doOnTransition(Submode_t subModeFrom) {
|
||||
subModeFrom = SUBMODE_BOOTLOADER;
|
||||
boot = false;
|
||||
}
|
||||
if (dhbSubmode == SUBMODE_NONE) {
|
||||
bootFirmware(MODE_ON);
|
||||
}
|
||||
if (dhbSubmode == SUBMODE_BOOTLOADER && subModeFrom == SUBMODE_FIRMWARE) {
|
||||
bootBootloader();
|
||||
} else if (dhbSubmode == SUBMODE_FIRMWARE && subModeFrom == SUBMODE_FIRMWARE) {
|
||||
@ -759,7 +762,7 @@ void StarTrackerHandler::bootFirmware(Mode_t toMode) {
|
||||
if (toMode == MODE_NORMAL) {
|
||||
setMode(toMode, 0);
|
||||
} else {
|
||||
setMode(toMode);
|
||||
setMode(toMode, SUBMODE_FIRMWARE);
|
||||
}
|
||||
internalState = InternalState::IDLE;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user