Add 48 as a GPIO pin

This commit is contained in:
Garth Vander Houwen 2024-01-22 13:21:17 -08:00
parent f05777919d
commit bc3fc5e50c
8 changed files with 21 additions and 15 deletions

View file

@ -99,7 +99,7 @@ struct ExternalNotificationConfig: View {
Text("If enabled, the 'output' Pin will be pulled active high, disabled means active low.")
.font(.caption)
Picker("Output pin GPIO", selection: $output) {
ForEach(0..<48) {
ForEach(0..<49) {
if $0 == 0 {
Text("unset")
} else {
@ -147,7 +147,7 @@ struct ExternalNotificationConfig: View {
}
.toggleStyle(SwitchToggleStyle(tint: .accentColor))
Picker("Output pin buzzer GPIO ", selection: $outputBuzzer) {
ForEach(0..<48) {
ForEach(0..<49) {
if $0 == 0 {
Text("unset")
} else {
@ -157,7 +157,7 @@ struct ExternalNotificationConfig: View {
}
.pickerStyle(DefaultPickerStyle())
Picker("Output pin vibra GPIO", selection: $outputVibra) {
ForEach(0..<48) {
ForEach(0..<49) {
if $0 == 0 {
Text("unset")
} else {