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 49ccd2a + fb56127 commit c543cd5Copy full SHA for c543cd5
adafruit_platformdetect/chip.py
@@ -80,7 +80,7 @@ def _linux_id(self):
80
linux_id = GENERIC_X86
81
82
compatible = self.detector.get_device_compatible()
83
- if 'tegra' in compatible:
+ if compatible and 'tegra' in compatible:
84
linux_id = TEGRAXXX
85
elif hardware in ("BCM2708", "BCM2709", "BCM2835"):
86
linux_id = BCM2XXX
0 commit comments