Skip to content

Commit

Permalink
Merge pull request #78 from tobiasgehring/jetson_orin
Browse files Browse the repository at this point in the history
detect NVIDIA Jetsons which do not have Nvidia in the device tree mod…
  • Loading branch information
Chr157i4n authored Oct 6, 2024
2 parents ee9f386 + d8f2ef1 commit 4cbab46
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
pip install pyserial
- name: Analysing the code with pylint
run: |
pylint $(git ls-files '*.py') --disable=C0103 --disable=W0511 --extension-pkg-whitelist=RPi
pylint $(git ls-files '*.py') --disable=C0103 --disable=W0511 --disable=W0012 --extension-pkg-whitelist=RPi
unittest:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions src/TMC_2209/TMC_2209_StepperDriver.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#pylint: disable=too-many-public-methods
#pylint: disable=too-many-branches
#pylint: disable=too-many-instance-attributes
#pylint: disable=too-many-positional-arguments
#pylint: disable=import-outside-toplevel
#pylint: disable=bare-except
"""TMC_2209 stepper driver module
Expand Down
2 changes: 1 addition & 1 deletion src/TMC_2209/_TMC_2209_GPIO_board.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ class GpioPUD(IntEnum):
"Exiting..."),
Loglevel.ERROR)
raise
elif "nvidia jetson" in model:
elif "jetson" in model:
try:
from Jetson import GPIO
BOARD = Board.NVIDIA_JETSON
Expand Down

0 comments on commit 4cbab46

Please sign in to comment.