only enable STR set for normal mode
This commit is contained in:
parent
70c4f8f3fd
commit
6398532462
@ -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
2
tmtc
@ -1 +1 @@
|
|||||||
Subproject commit eea768358101a16912c0c49ad5e66a8c90826121
|
Subproject commit 62bd5356220bab1ce9f3ddaa7aaf75963b8bd596
|
Loading…
Reference in New Issue
Block a user