increase headlight threshold
This commit is contained in:
parent
c1951402d7
commit
e41b4c69d8
|
@ -30,7 +30,7 @@ class environment:
|
|||
else:
|
||||
self.h_alerted = False
|
||||
|
||||
if self.sensors.get_brightness_pct() < 50:
|
||||
if self.sensors.get_brightness_pct() < 25:
|
||||
self.leds.set_headlights(True)
|
||||
else:
|
||||
self.leds.set_headlights(False)
|
||||
|
|
Loading…
Reference in New Issue