Skip to content

Commit 3e25f50

Browse files
Fix typo
1 parent 67bead2 commit 3e25f50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

adafruit_vc0706.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,10 +220,10 @@ def motion_detected(self):
220220
return True
221221

222222
def get_motion_detect(self):
223-
return self._run_command(_COMM_MOTION_STATUS, bytes([0x00]), 6):
223+
return self._run_command(_COMM_MOTION_STATUS, bytes([0x00]), 6)
224224

225225
def set_motion_detect(self, args):
226-
return self._run_command(_COMM_MOTION_CTRL, bytes([0x01, args]), 5):
226+
return self._run_command(_COMM_MOTION_CTRL, bytes([0x01, args]), 5)
227227

228228
def _run_command(self, cmd, args, resplen, flush=True):
229229
if flush:

0 commit comments

Comments
 (0)