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
end
ds18b20=nil
ds18b20_diet=nil
package.loaded["ds18b20_diet"]=nil
tempCounter = 0
else
tempCounter = tempCounter + 1