Skip to content

Commit a43a197

Browse files
committed
Define serial_write, it was undefined in the Windows mpy-cross build
1 parent ebf0fe0 commit a43a197

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

mpy-cross/main.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,3 +284,7 @@ void nlr_jump_fail(void *val) {
284284
printf("FATAL: uncaught NLR %p\n", val);
285285
exit(1);
286286
}
287+
288+
void serial_write(const char* text) {
289+
printf("%s", text);
290+
}

0 commit comments

Comments
 (0)