We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d93180 commit b47bbdeCopy full SHA for b47bbde
src/boot/sysobj.reb
@@ -332,6 +332,7 @@ standard: object [
332
]
333
334
port-spec-serial: make port-spec-head [
335
+ path: none
336
speed: 115200
337
data-size: 8
338
parity: none
src/core/p-serial.c
@@ -71,7 +71,7 @@
71
switch (action) {
72
73
case A_OPEN:
74
- arg = Obj_Value(spec, STD_PORT_SPEC_SERIAL_REF); //Should Obj_Value really return a char* ?
+ arg = Obj_Value(spec, STD_PORT_SPEC_SERIAL_PATH); //Should Obj_Value really return a char* ?
75
if (! (IS_FILE(arg) || IS_STRING(arg) || IS_BINARY(arg))) {
76
Trap1(RE_INVALID_PORT_ARG, arg);
77
}
0 commit comments