Skip to content

Commit 5763844

Browse files
committed
Fix EOF test for web workflow repl
1 parent 8097e3d commit 5763844

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

supervisor/shared/serial.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -298,7 +298,7 @@ char serial_read(void) {
298298

299299
#if CIRCUITPY_WEB_WORKFLOW
300300
if (websocket_available()) {
301-
char c = websocket_read_char();
301+
int c = websocket_read_char();
302302
if (c != -1) {
303303
return c;
304304
}

0 commit comments

Comments
 (0)