We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d7ed38b commit ba20133Copy full SHA for ba20133
1 file changed
shared/runtime/pyexec.c
@@ -615,7 +615,7 @@ MP_REGISTER_ROOT_POINTER(vstr_t * repl_line);
615
#else // MICROPY_REPL_EVENT_DRIVEN
616
617
// CIRCUITPY-CHANGE: avoid warnings
618
-#if defined(MICROPY_HAL_HAS_STDIO_MODE_SWITCH) && !MICROPY_HAL_HAS_STDIO_MODE_SWITCH
+#if !defined(MICROPY_HAL_HAS_STDIO_MODE_SWITCH) || !MICROPY_HAL_HAS_STDIO_MODE_SWITCH
619
// If the port doesn't need any stdio mode switching calls then provide trivial ones.
620
static inline void mp_hal_stdio_mode_raw(void) {
621
}
0 commit comments