mirror of
https://github.com/halleysfifthinc/AVCLAN-Mockingboard.git
synced 2026-10-18 00:10:45 +00:00
Migrate to FreeRTOS
This commit is contained in:
@@ -12,8 +12,8 @@ extern "C" {
|
||||
|
||||
// Generic stdio interface initialization. All user I/O goes through <stdio.h>
|
||||
// functions. Assumptions/invariants:
|
||||
// - stdin MUST be non-blocking (ie. a libc read yields EOF immediately when no
|
||||
// input is buffered). Necessary to avoid stalling the REPL poll loop.
|
||||
// - A libc read of stdin blocks the calling task (not the CPU) until at least
|
||||
// one byte is available.
|
||||
// - stdout is *raw*. There is no '\n' -> "\r\n" translation. The port does not
|
||||
// change a bare LF or a binary frame payload. Writes through
|
||||
// <stdio.h> and writes through stdio_write_nonblock() must reach the same
|
||||
|
||||
Reference in New Issue
Block a user