fix(led-driver): stop loading patterns main and sync tick call

This commit is contained in:
2026-04-14 23:13:16 +12:00
parent 0a33f399e1
commit 87bd0338bd
4 changed files with 10 additions and 139 deletions

View File

@@ -12,11 +12,18 @@ class Settings(dict):
self.color_order = self.get_color_order(self["color_order"])
def set_defaults(self):
self["led_pin"] = 10
self["num_leds"] = 119
self["color_order"] = "rgb"
self["name"] = "a"
sta = network.WLAN(network.STA_IF)
sta.active(True)
#use led-mac for name
mac = sta.config("mac")
mac = ubinascii.hexlify(mac).decode().lower()
self["name"] = "led-" + mac
self["debug"] = False
self["default"] = "on"