STR time #611

Merged
muellerr merged 25 commits from str_set_time into main 2023-07-14 12:43:21 +02:00
2 changed files with 3 additions and 2 deletions
Showing only changes of commit 6398532462 - Show all commits

View File

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

2
tmtc

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