Skip to content

Commit

Permalink
Fix/Typos
Browse files Browse the repository at this point in the history
  • Loading branch information
builderjer authored Jun 4, 2024
1 parent 67eefd9 commit b214000
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ovos_i2c_detection/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,15 @@ def is_wm8960():
return False


def is_respeaker_4mic:
def is_respeaker_4mic():
cmd = 'i2cdetect -y -a 1 0x3b 0x3b | egrep "(3b|UU)" | awk \'{print $2}\''
out = subprocess.check_output(cmd, shell=True).strip()
if out == b"3b" or out == b"UU":
return True
return False


def is_respeaker_6mic()():
def is_respeaker_6mic():
cmd = 'i2cdetect -y -a 1 0x35 0x35 | egrep "(35|UU)" | awk \'{print $2}\''
out = subprocess.check_output(cmd, shell=True).strip()
if out == b"35" or out == b"UU":
Expand Down

0 comments on commit b214000

Please sign in to comment.