diff options
| author | Jeff Epler <jepler@gmail.com> | 2020-01-25 14:40:38 -0600 |
|---|---|---|
| committer | Jeff Epler <jepler@gmail.com> | 2020-01-25 15:09:49 -0600 |
| commit | a43a19728c464a56f240c78fe620a690c8950333 (patch) | |
| tree | b31125a941ae3f4aa39126d9639ea90596a9a6d3 /mpy-cross | |
| parent | ebf0fe0a8cfc93546699879b13a87071ea942ce3 (diff) | |
Define serial_write, it was undefined in the Windows mpy-cross build
Diffstat (limited to 'mpy-cross')
| -rw-r--r-- | mpy-cross/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mpy-cross/main.c b/mpy-cross/main.c index 280f59522..7c232385b 100644 --- a/mpy-cross/main.c +++ b/mpy-cross/main.c @@ -284,3 +284,7 @@ void nlr_jump_fail(void *val) { printf("FATAL: uncaught NLR %p\n", val); exit(1); } + +void serial_write(const char* text) { + printf("%s", text); +} |
