File tree 3 files changed +4
-10
lines changed
3 files changed +4
-10
lines changed Original file line number Diff line number Diff line change @@ -16,10 +16,10 @@ jobs:
16
16
- name : Translate Repo Name For Build Tools filename_prefix
17
17
id : repo-name
18
18
run : echo "repo-name=Adafruit-Blinka" >> $GITHUB_OUTPUT
19
- - name : Set up Python 3.7
19
+ - name : Set up Python 3.8
20
20
uses : actions/setup-python@v4
21
21
with :
22
- python-version : 3.7
22
+ python-version : 3.8
23
23
- name : Versions
24
24
run : |
25
25
python3 --version
Original file line number Diff line number Diff line change 41
41
elif board_id == ap_board .RASPBERRY_PI_PICO :
42
42
from adafruit_blinka .board .raspberrypi .pico import *
43
43
44
- elif (
45
- detector .board .RASPBERRY_PI_4B
46
- or detector .board .RASPBERRY_PI_CM4
47
- or detector .board .RASPBERRY_PI_CM4S
48
- or detector .board .RASPBERRY_PI_400
49
- or detector .board .RASPBERRY_PI_5
50
- ):
44
+ elif detector .board .any_raspberry_pi_4_board or detector .board .any_raspberry_pi_5_board :
51
45
from adafruit_blinka .board .raspberrypi .raspi_4b import *
52
46
53
47
elif detector .board .any_raspberry_pi_40_pin :
Original file line number Diff line number Diff line change 16
16
from adafruit_blinka .agnostic import detector , board_id
17
17
18
18
if detector .board .any_raspberry_pi :
19
- if board_id == "RASPBERRY_PI_5" :
19
+ if detector . board . any_raspberry_pi_5_board :
20
20
import adafruit_raspberry_pi5_neopixel_write as _neopixel
21
21
else :
22
22
from adafruit_blinka .microcontroller .bcm283x import neopixel as _neopixel
You can’t perform that action at this time.
0 commit comments