set dataset invalid on OFF mode
This commit is contained in:
parent
dea3077f29
commit
cd9cb48b04
@ -19,6 +19,7 @@ void Tmp1075Handler::doStartUp() {
|
||||
|
||||
void Tmp1075Handler::doShutDown() {
|
||||
communicationStep = CommunicationStep::START_ADC_CONVERSION;
|
||||
dataset.setValidity(false, true);
|
||||
setMode(_MODE_POWER_DOWN);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user