diff --git a/mission/payload/PayloadPcduHandler.cpp b/mission/payload/PayloadPcduHandler.cpp index 85af7cb1..2ec12fc0 100644 --- a/mission/payload/PayloadPcduHandler.cpp +++ b/mission/payload/PayloadPcduHandler.cpp @@ -69,6 +69,10 @@ void PayloadPcduHandler::doShutDown() { { PoolReadGuard pg(&adcSet); adcSet.setReportingEnabled(false); + adcSet.tempC = 0; + + std::memset(adcSet.channels.value, 0, sizeof(adcSet.channels.value)); + std::memset(adcSet.processed.value, 0, sizeof(adcSet.processed.value)); adcSet.setValidity(false, true); } // No need to set mode _MODE_POWER_DOWN, power switching was already handled