only enable STR set for normal mode
Some checks are pending
EIVE/eive-obsw/pipeline/head Build started...
EIVE/eive-obsw/pipeline/pr-main This commit looks good

This commit is contained in:
Robin Müller 2023-07-13 14:57:24 +02:00
parent 70c4f8f3fd
commit 6398532462
Signed by: muellerr
GPG Key ID: 407F9B00F858F270
2 changed files with 3 additions and 2 deletions

View File

@ -88,7 +88,6 @@ void StarTrackerHandler::doStartUp() {
default:
return;
}
solutionSet.setReportingEnabled(true);
startupState = StartupState::DONE;
internalState = InternalState::IDLE;
setMode(_MODE_TO_ON);
@ -787,11 +786,13 @@ void StarTrackerHandler::doOnTransition(Submode_t subModeFrom) {
void StarTrackerHandler::doNormalTransition(Mode_t modeFrom, Submode_t subModeFrom) {
using namespace startracker;
if (subModeFrom == SUBMODE_FIRMWARE) {
solutionSet.setReportingEnabled(true);
setMode(MODE_NORMAL);
} else if (subModeFrom == SUBMODE_BOOTLOADER) {
bootFirmware(MODE_NORMAL);
} else if (modeFrom == MODE_NORMAL && subModeFrom == SUBMODE_NONE) {
// Device handler already in mode normal
solutionSet.setReportingEnabled(true);
setMode(MODE_NORMAL);
}
}

2
tmtc

@ -1 +1 @@
Subproject commit eea768358101a16912c0c49ad5e66a8c90826121
Subproject commit 62bd5356220bab1ce9f3ddaa7aaf75963b8bd596