]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
Adjusted Pi 1 Model A to use Pi 1 B Rev 2 board def
authorMelissa LeBlanc-Williams <melissa@adafruit.com>
Wed, 26 Aug 2020 18:32:12 +0000 (11:32 -0700)
committerMelissa LeBlanc-Williams <melissa@adafruit.com>
Wed, 26 Aug 2020 18:32:12 +0000 (11:32 -0700)
src/board.py

index e1ddaf47b600bce53af07a6d6e414bea453a7d91..162a0e393a6d3b5dc5030ef2c604824b7f70f277 100755 (executable)
@@ -50,10 +50,10 @@ elif detector.board.any_raspberry_pi_40_pin:
 elif detector.board.any_raspberry_pi_cm:
     from adafruit_blinka.board.raspberrypi.raspi_cm import *
 
 elif detector.board.any_raspberry_pi_cm:
     from adafruit_blinka.board.raspberrypi.raspi_cm import *
 
-elif detector.board.RASPBERRY_PI_A or detector.board.RASPBERRY_PI_B_REV1:
+elif detector.board.RASPBERRY_PI_B_REV1:
     from adafruit_blinka.board.raspberrypi.raspi_1b_rev1 import *
 
     from adafruit_blinka.board.raspberrypi.raspi_1b_rev1 import *
 
-elif detector.board.RASPBERRY_PI_B_REV2:
+elif detector.board.RASPBERRY_PI_A or detector.board.RASPBERRY_PI_B_REV2:
     from adafruit_blinka.board.raspberrypi.raspi_1b_rev2 import *
 
 elif board_id == ap_board.BEAGLEBONE_BLACK:
     from adafruit_blinka.board.raspberrypi.raspi_1b_rev2 import *
 
 elif board_id == ap_board.BEAGLEBONE_BLACK: