Skip to content

Commit 899dc91

Browse files
authored
[skip-changelog] Fixed pluggable monitor specification to match the de-facto implementation (#1748)
Fix #1738
1 parent 78d013b commit 899dc91

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Diff for: docs/pluggable-monitor-specification.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ port configuration, and which parameters are available to the user.
7070
"baudrate": {
7171
"label": "Baudrate",
7272
"type": "enum",
73-
"values": [
73+
"value": [
7474
"300", "600", "750", "1200", "2400", "4800", "9600",
7575
"19200", "38400", "57600", "115200", "230400", "460800",
7676
"500000", "921600", "1000000", "2000000"
@@ -80,19 +80,19 @@ port configuration, and which parameters are available to the user.
8080
"parity": {
8181
"label": "Parity",
8282
"type": "enum",
83-
"values": [ "N", "E", "O", "M", "S" ],
83+
"value": [ "N", "E", "O", "M", "S" ],
8484
"selected": "N"
8585
},
8686
"bits": {
8787
"label": "Data bits",
8888
"type": "enum",
89-
"values": [ "5", "6", "7", "8", "9" ],
89+
"value": [ "5", "6", "7", "8", "9" ],
9090
"selected": "8"
9191
},
9292
"stop_bits": {
9393
"label": "Stop bits",
9494
"type": "enum",
95-
"values": [ "1", "1.5", "2" ],
95+
"value": [ "1", "1.5", "2" ],
9696
"selected": "1"
9797
}
9898
}
@@ -111,7 +111,7 @@ types may be added in the future if needed), and the `selected` value for each p
111111
The parameter name can not contain spaces, the allowed characters are alphanumerics, underscore `_`, dot `.`, and dash
112112
`-`.
113113

114-
The `enum` types must have a list of possible `values`.
114+
The `enum` types must have a list of possible values in the `value` list field.
115115

116116
The client/IDE may expose these configuration values to the user via a config file or a GUI, in this case the `label`
117117
field may be used for a user readable description of the parameter.

0 commit comments

Comments
 (0)