this fixed the unrequested reply
EIVE/eive-obsw/pipeline/head Build started... Details

This commit is contained in:
Robin Müller 2023-01-23 14:15:32 +01:00
parent 9ec69bb649
commit 8c9d215672
No known key found for this signature in database
GPG Key ID: 11D4952C8CCEF814
1 changed files with 2 additions and 0 deletions

View File

@ -21,6 +21,7 @@ void Max31865EiveHandler::doStartUp() {
transitionOk = false;
}
if ((state == InternalState::ON or state == InternalState::ACTIVE) and transitionOk) {
updatePeriodicReply(true, EiveMax31855::RtdCommands::EXCHANGE_SET_ID);
if (instantNormal) {
setMode(MODE_NORMAL);
} else {
@ -36,6 +37,7 @@ void Max31865EiveHandler::doShutDown() {
transitionOk = false;
}
if (state == InternalState::INACTIVE and transitionOk) {
updatePeriodicReply(false, EiveMax31855::RtdCommands::EXCHANGE_SET_ID);
setMode(MODE_OFF);
}
}