X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/94f4f1e262150090701684a37e5a8a4da3f23f71..d9e313c16bbe3c441bc2815e3a90a5324b68b92a:/src/board.py diff --git a/src/board.py b/src/board.py index c0d141e..5a85cc7 100644 --- a/src/board.py +++ b/src/board.py @@ -41,13 +41,7 @@ elif board_id == ap_board.PYBOARD: elif board_id == ap_board.RASPBERRY_PI_PICO: from adafruit_blinka.board.raspberrypi.pico import * -elif ( - detector.board.RASPBERRY_PI_4B - or detector.board.RASPBERRY_PI_CM4 - or detector.board.RASPBERRY_PI_CM4S - or detector.board.RASPBERRY_PI_400 - or detector.board.RASPBERRY_PI_5 -): +elif detector.board.any_raspberry_pi_4_board or detector.board.any_raspberry_pi_5_board: from adafruit_blinka.board.raspberrypi.raspi_4b import * elif detector.board.any_raspberry_pi_40_pin: