Skip to content

Commit

Permalink
bugfix: reverse function name change that broke call
Browse files Browse the repository at this point in the history
  • Loading branch information
odudex committed Aug 15, 2024
1 parent 981b215 commit aeaac1a
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/krux/camera.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ def __init__(self):
self.initialized = False
self.cam_id = None
self.antiglare_enabled = False
self._initialize_sensor()
self.initialize_sensor()

def _initialize_sensor(self, grayscale=False):
def initialize_sensor(self, grayscale=False):
"""Initializes the camera"""
self.initialized = False
self.antiglare_enabled = False
Expand Down Expand Up @@ -191,7 +191,7 @@ def snapshot(self):

def initialize_run(self):
"""Initializes and runs sensor"""
self._initialize_sensor()
self.initialize_sensor()
sensor.run(1)

def stop_sensor(self):
Expand Down

0 comments on commit aeaac1a

Please sign in to comment.