Also adjusted timer
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Dreaded_X 2022-11-23 22:23:06 +01:00
parent ca976b1143
commit abda5cc24f
Signed by: Dreaded_X
GPG Key ID: 76BDEC4E165D8AD9

View File

@ -35,7 +35,7 @@ func NewLightSensor(info Info, client paho.Client) *lightSensor {
l.minValue = 15000
l.maxValue = 18000
l.timeout = time.Minute
l.timeout = 5 * time.Minute
l.timer = time.NewTimer(l.timeout)
l.timer.Stop()