Skip to content

Commit

Permalink
Merge pull request #5 from echarlie/echarlie-laser-off-menu
Browse files Browse the repository at this point in the history
this shuts off the laser when in the menu view.
  • Loading branch information
furbrain authored Jan 8, 2024
2 parents dac83ea + d41fa11 commit e55f04e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions firmware/menu.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ async def menu(devices: hardware.Hardware, cfg: config.Config, disp: display.Dis
logger.debug("Menu task started")
gc.collect()
await asyncio.sleep(0.1)
await devices.laser.set_laser(False)
items = [
("Calibrate", [
("Sensors", AsyncAction(calibrate.calibrate_sensors)),
Expand Down

0 comments on commit e55f04e

Please sign in to comment.