We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3f892e commit 2e34417Copy full SHA for 2e34417
adafruit_platformdetect/__init__.py
@@ -61,7 +61,8 @@ def check_dt_compatible_value(self, value):
61
otherwise False.
62
"""
63
# Match a value like 'qcom,apq8016-sbc':
64
- if value in self.get_device_compatible():
+ dt_compatible = self.get_device_compatible()
65
+ if dt_compatible and value in dt_compatible:
66
return True
67
68
return False
0 commit comments