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