Skip to content

Commit bf3f67f

Browse files
committed
Fix error message on no serial
1 parent 5230330 commit bf3f67f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import { FunctionCodes } from "./function-codes";
88

99
const serial: Serial = navigator.serial;
1010
if (!serial) {
11-
reportError('No serial support in this browser. Use current version of Edge, Chrome or Opera.');
11+
Dom.reportError('No WEB Serial API support in this browser. Use current desktop version of Edge, Chrome or Opera.');
1212
Dom.serialForm.setFieldsetDisabled(true);
1313
}
1414

0 commit comments

Comments
 (0)