]> Repositories - hackapet/Adafruit_Blinka.git/blobdiff - src/board.py
Move sysv_ipc to only install on Raspberry Pi
[hackapet/Adafruit_Blinka.git] / src / board.py
index 9aa520edc31c62af53e0650aeee69aef942f664a..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.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 *
 
-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:
@@ -158,9 +158,9 @@ elif board_id == ap_board.ONION_OMEGA2:
 
 elif board_id == ap_board.ROCK_PI_S:
     from adafruit_blinka.board.radxa.rockpis import *
-    
+
 elif board_id == ap_board.UDOO_X86:
-    from adafruit_blinka.board.udoo_x86ultra import *    
+    from adafruit_blinka.board.udoo_x86ultra import *
 
 elif "sphinx" in sys.modules:
     pass