File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
scriptmodules/supplementary Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -62,16 +62,16 @@ function _bcm2835_alsa_compat_audiosettings() {
62
62
local cmd=(dialog --backtitle " $__backtitle " --menu " Set audio output (ALSA - compat)" 22 86 16)
63
63
local hdmi=" HDMI"
64
64
65
- # the Pi 4 has 2 HDMI ports, so number them
66
- isPlatform " rpi4" && hdmi=" HDMI 1"
65
+ # the Pi 4/5 have 2 HDMI ports, so number them
66
+ ( isPlatform " rpi4" || isPlatform " rpi5 " ) && hdmi=" HDMI 1"
67
67
68
68
local options=(
69
69
1 " Auto"
70
70
2 " Headphones - 3.5mm jack"
71
71
3 " $hdmi "
72
72
)
73
- # add 2nd HDMI port on the Pi4
74
- isPlatform " rpi4" && options+=(4 " HDMI 2" )
73
+ # add 2nd HDMI port on the Pi 4/5
74
+ ( isPlatform " rpi4" || isPlatform " rpi5 " ) && options+=(4 " HDMI 2" )
75
75
options+=(
76
76
M " Mixer - adjust output volume"
77
77
R " Reset to default"
You can’t perform that action at this time.
0 commit comments