Skip to content

Commit 0fa76eb

Browse files
authored
Fix baudrate (#3985)
1 parent a1d33b0 commit 0fa76eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/js/webSerial.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ class WebSerial extends EventTarget {
124124
if (connectionInfo && !this.openCanceled) {
125125
this.connected = true;
126126
this.connectionId = connectionInfo.connectionId;
127-
this.bitrate = options.baudrate;
127+
this.bitrate = options.baudRate;
128128
this.bytesReceived = 0;
129129
this.bytesSent = 0;
130130
this.failed = 0;

0 commit comments

Comments
 (0)