Skip to content

Commit ded19d7

Browse files
authored
Fixing Jetson Nano detection
Hello, Seems like this is not working properly anymore in board.py (_tegra_id): `elif 'nano' in board_value: board = JETSON_NANO` In /proc/device-tree/model of my jetson nano, I see: NVIDIA Jetson **Nano** Developer Kit I checked a previous install on another sd card and the file read : jetson **nano** I think the function should now look for nano or Nano. Thanks
1 parent 29b9383 commit ded19d7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adafruit_platformdetect/board.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -405,7 +405,7 @@ def _tegra_id(self):
405405
board = JETSON_TX2
406406
elif 'xavier' in board_value:
407407
board = JETSON_XAVIER
408-
elif 'nano' in board_value:
408+
elif 'nano' in board_value or "Nano" in board_value:
409409
board = JETSON_NANO
410410
return board
411411

0 commit comments

Comments
 (0)