From 8c9d215672d15d327159cb131e9e0527de1e52d7 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Mon, 23 Jan 2023 14:15:32 +0100 Subject: [PATCH] this fixed the unrequested reply --- mission/devices/Max31865EiveHandler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mission/devices/Max31865EiveHandler.cpp b/mission/devices/Max31865EiveHandler.cpp index 433f7b58..33f566ee 100644 --- a/mission/devices/Max31865EiveHandler.cpp +++ b/mission/devices/Max31865EiveHandler.cpp @@ -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); } }