X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/657b7f07818daad3110914571e022be03a01aaf4..49b6feff70fe4cb2fbf702d3719a2de4d141b29c:/src/busio.py diff --git a/src/busio.py b/src/busio.py index 0f4b15b..0ddf7dc 100755 --- a/src/busio.py +++ b/src/busio.py @@ -96,7 +96,7 @@ class SPI(Lockable): elif detector.board.any_beaglebone: from adafruit_blinka.microcontroller.am335x.pin import Pin from adafruit_blinka.microcontroller.generic_linux.spi import SPI as _SPI - elif board_id == ap_board.ORANGE_PI_PC or board_id == ap_board.ORANGE_PI_R1: + elif board_id == ap_board.ORANGE_PI_PC or board_id == ap_board.ORANGE_PI_R1 or board_id == ap_board.ORANGE_PI_ZERO: from adafruit_blinka.microcontroller.allwinner_h3.pin import Pin from adafruit_blinka.microcontroller.generic_linux.spi import SPI as _SPI elif board_id == ap_board.GIANT_BOARD: