fix
This commit is contained in:
parent
88bbf456c6
commit
60ff8c214e
1 changed files with 2 additions and 0 deletions
|
|
@ -5,6 +5,8 @@ dependencies = ['Pillow']
|
|||
|
||||
if os.path.exists('/sys/bus/platform/drivers/gpiomem-bcm2835'):
|
||||
dependencies += ['RPi.GPIO', 'spidev']
|
||||
elif os.path.exists('/sys/bus/platform/drivers/gpio-x3'):
|
||||
dependencies += ['Hobot.GPIO', 'spidev']
|
||||
else:
|
||||
dependencies += ['Jetson.GPIO']
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue