Skip to content

Commit 0fb6a1f

Browse files
committed
Make all the setting values lowercase
1 parent ef209ab commit 0fb6a1f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

main.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,8 @@ func NewSerialMonitor() *SerialMonitor {
6767
"parity": {
6868
Label: "Parity",
6969
Type: "enum",
70-
Values: []string{"None", "Even", "Odd", "Mark", "Space"},
71-
Selected: "None",
70+
Values: []string{"none", "even", "odd", "mark", "space"},
71+
Selected: "none",
7272
},
7373
"bits": {
7474
Label: "Data bits",
@@ -85,14 +85,14 @@ func NewSerialMonitor() *SerialMonitor {
8585
"rts": {
8686
Label: "RTS",
8787
Type: "enum",
88-
Values: []string{"On", "Off"},
89-
Selected: "On",
88+
Values: []string{"on", "off"},
89+
Selected: "on",
9090
},
9191
"dtr": {
9292
Label: "DTR",
9393
Type: "enum",
94-
Values: []string{"On", "Off"},
95-
Selected: "On",
94+
Values: []string{"on", "off"},
95+
Selected: "on",
9696
},
9797
},
9898
},

0 commit comments

Comments
 (0)