Unload temperatur sensor module, after usage

This commit is contained in:
Ollo 2022-01-20 21:49:35 +01:00
parent a98a30c06b
commit 042bef0bf7

View File

@ -246,6 +246,8 @@ function startMqttClient()
temperatur=nil temperatur=nil
end end
ds18b20=nil ds18b20=nil
ds18b20_diet=nil
package.loaded["ds18b20_diet"]=nil
tempCounter = 0 tempCounter = 0
else else
tempCounter = tempCounter + 1 tempCounter = tempCounter + 1