]> Repositories - Adafruit_Blinka-hackapet.git/commitdiff
Merge pull request #945 from ErikApption/main
authorMelissa LeBlanc-Williams <melissa@adafruit.com>
Mon, 5 May 2025 19:37:55 +0000 (12:37 -0700)
committerGitHub <noreply@github.com>
Mon, 5 May 2025 19:37:55 +0000 (12:37 -0700)
added support for orange pi 5 max

src/board.py

index 3a918501e6405d09fb8f8b53e674f8b540909f8e..011170f4a6a020f860a6941ff0fef2807f561ec2 100644 (file)
@@ -143,7 +143,7 @@ elif board_id == ap_board.ORANGE_PI_4:
 elif board_id == ap_board.ORANGE_PI_4_LTS:
     from adafruit_blinka.board.orangepi.orangepi4 import *
 
-elif board_id == ap_board.ORANGE_PI_5:
+elif board_id in (ap_board.ORANGE_PI_5, ap_board.ORANGE_PI_5_MAX):
     from adafruit_blinka.board.orangepi.orangepi5 import *
 
 elif board_id == ap_board.ORANGE_PI_5_PLUS: