From f4f365b11016a8bb05d1e28e3810a951237339d1 Mon Sep 17 00:00:00 2001 From: Robin Mueller Date: Thu, 6 Jul 2023 13:56:43 +0200 Subject: [PATCH] pool read guard --- mission/tcs/Tmp1075Handler.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mission/tcs/Tmp1075Handler.cpp b/mission/tcs/Tmp1075Handler.cpp index 905219ca..3f2da98f 100644 --- a/mission/tcs/Tmp1075Handler.cpp +++ b/mission/tcs/Tmp1075Handler.cpp @@ -1,3 +1,4 @@ +#include #include #include #include @@ -19,6 +20,7 @@ void Tmp1075Handler::doStartUp() { void Tmp1075Handler::doShutDown() { communicationStep = CommunicationStep::START_ADC_CONVERSION; + PoolReadGuard pg(&dataset); dataset.setValidity(false, true); setMode(_MODE_POWER_DOWN); }