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 SerialConfig: View {
Section(header: Text("GPIO")) {
Picker("Receive data (rxd) GPIO pin", selection: $rxd) {
ForEach(0..<48) {
ForEach(0..<49) {
if $0 == 0 {
Text("unset")
} else {
@ -110,7 +110,7 @@ struct SerialConfig: View {
.pickerStyle(DefaultPickerStyle())
Picker("Transmit data (txd) GPIO pin", selection: $txd) {
ForEach(0..<48) {
ForEach(0..<49) {
if $0 == 0 {
Text("unset")
} else {