Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

disable for mk1 devices #5

Merged
merged 2 commits into from
Jan 11, 2025
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion ovos_PHAL_plugin_dotstar/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
from ovos_utils.log import LOG
from ovos_config.config import Configuration

from ovos_i2c_detection import is_wm8960, is_respeaker_4mic, is_respeaker_6mic
from ovos_i2c_detection import is_wm8960, is_respeaker_4mic, is_respeaker_6mic, is_mark_1

from lingua_franca.util.colors import Color
from lingua_franca.internal import load_language
Expand Down Expand Up @@ -55,6 +55,9 @@ def validate(config=None):
return True
# Try a direct hardware check
if is_wm8960() or is_respeaker_4mic() or is_respeaker_6mic():
if is_mark_1():
LOG.debug("Mark 1 detected. Dotstar is not needed")
return False
LOG.debug("direct hardware check")
return True
LOG.debug("no validation")
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
adafruit-circuitpython-dotstar
ovos-plugin-manager>=0.0.1
ovos-lingua-franca>=0.4.8a8
ovos-i2c-detection>=0.0.0a5
ovos-i2c-detection>=0.0.5
JarbasAl marked this conversation as resolved.
Show resolved Hide resolved
gpiozero
rpi-lgpio
Loading