Skip to content

Commit

Permalink
deprecated is_mycroft_sj201
Browse files Browse the repository at this point in the history
  • Loading branch information
builderjer committed May 25, 2024
1 parent 5394a74 commit 7ca41cc
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions ovos_PHAL/detection.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import subprocess
from ovos_utils.log import deprecated


def is_mycroft_sj201_v6():
Expand All @@ -9,6 +10,11 @@ def is_mycroft_sj201_v6():
return False


@deprecated("Use is_mycroft_sj201_v6", "0.2.0")
def is_mycroft_sj201():
return is_mycroft_sj201_v6()


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

0 comments on commit 7ca41cc

Please sign in to comment.