Skip to content

Commit

Permalink
Add missing light switch on
Browse files Browse the repository at this point in the history
  • Loading branch information
utkarsh867 committed Jul 7, 2021
1 parent 344c8eb commit d208318
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions openoceancamera/camera/capture.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ def capture_images(slot):
sensor_data = sensors.get_sensor_data()
sensor_data["camera_name"] = camera_name
camera.annotate_text = annotate_text_string(sensor_data)
PWM.switch_on(light)
else:
PWM.switch_off()
break
Expand Down

0 comments on commit d208318

Please sign in to comment.