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.
2 parents e3f892e + 2e34417 commit c57f666Copy full SHA for c57f666
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