this fixed the unrequested reply
Some checks are pending
EIVE/eive-obsw/pipeline/head Build started...
Some checks are pending
EIVE/eive-obsw/pipeline/head Build started...
This commit is contained in:
parent
9ec69bb649
commit
8c9d215672
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user