File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -456,6 +456,8 @@ def setup_usercode_logging() -> None:
456456 username = mqtt_config .username ,
457457 password = mqtt_config .password ,
458458 connected_topic = f"{ mqtt_config .topic_prefix } /connected" ,
459+ connected_callback = lambda : LED_CONTROLLER .set_wifi (True ),
460+ disconnected_callback = lambda : LED_CONTROLLER .set_wifi (False ),
459461 )
460462
461463 handler .setLevel (logging .INFO )
Original file line number Diff line number Diff line change @@ -11,11 +11,11 @@ url = https://github.com/sourcebots/runusb
1111python_requires = >=3.8
1212packages = find:
1313install_requires =
14- logger-extras ==0.4.0
14+ logger-extras ==0.4.1
1515 rpi.GPIO ==0.7.1
1616
1717[options.extras_require]
18- mqtt = logger-extras[mqtt]==0.4.0
18+ mqtt = logger-extras[mqtt]==0.4.1
1919
2020[options.entry_points]
2121console_scripts =
You can’t perform that action at this time.
0 commit comments