Skip to content

Commit

Permalink
Fix copy-pasta 👮
Browse files Browse the repository at this point in the history
  • Loading branch information
TRex22 committed Aug 4, 2021
1 parent 8b483e7 commit 99bf343
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/camera_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -310,11 +310,11 @@ def set_fom(camera, config):
set_mmal_parameter(camera, parameter, value)
print(f'fom: {config["fom"]}')

def adjust_adjust_hdr2(camera, config):
def adjust_hdr2(camera, config):
config["hdr2"] = not config["hdr2"]
overlay_handler.display_text(camera, '', config)

def set_set_hdr2(camera, config):
def set_hdr2(camera, config):
value = config["hdr2"]
parameter = mmal.MMAL_PARAMETER_HIGH_DYNAMIC_RANGE
set_mmal_parameter(camera, parameter, value)
Expand Down

0 comments on commit 99bf343

Please sign in to comment.