Before tasking is running, send output to ao_debug_out to help debug
system initialization.
Signed-off-by: Keith Packard <keithp@keithp.com>
+#if LOW_LEVEL_DEBUG
+ if (!ao_cur_task) {
+ extern void ao_debug_out(char c);
+ if (c == '\n')
+ ao_debug_out('\r');
+ ao_debug_out(c);
+ return;
+ }
+#endif
if (c == '\n')
(*ao_stdios[ao_cur_stdio].putchar)('\r');
(*ao_stdios[ao_cur_stdio].putchar)(c);
if (c == '\n')
(*ao_stdios[ao_cur_stdio].putchar)('\r');
(*ao_stdios[ao_cur_stdio].putchar)(c);