Bump GPIO Pickers to 45

This commit is contained in:
Garth Vander Houwen 2023-04-03 17:48:58 -07:00
parent f992d6e47a
commit b455fb25c6
11 changed files with 319 additions and 271 deletions

View file

@ -92,7 +92,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..<40) {
ForEach(0..<46) {
if $0 == 0 {
Text("unset")
} else {
@ -140,7 +140,7 @@ struct ExternalNotificationConfig: View {
}
.toggleStyle(SwitchToggleStyle(tint: .accentColor))
Picker("Output pin buzzer GPIO ", selection: $outputBuzzer) {
ForEach(0..<40) {
ForEach(0..<46) {
if $0 == 0 {
Text("unset")
} else {
@ -150,7 +150,7 @@ struct ExternalNotificationConfig: View {
}
.pickerStyle(DefaultPickerStyle())
Picker("Output pin vibra GPIO", selection: $outputVibra) {
ForEach(0..<40) {
ForEach(0..<46) {
if $0 == 0 {
Text("unset")
} else {