sys/console: NLIP output was not passing through
NLIP output was not passing through when g_console_silence_non_nlip
was set
@@ -170,7 +170,10 @@ console_write(const char *str, int cnt)
if (console_lock(timeout) != OS_OK) {
return;
}
-
+ if (cnt >= 2 && str[0] == CONSOLE_NLIP_DATA_START1 &&
+ str[1] == CONSOLE_NLIP_DATA_START2) {
+ g_is_output_nlip = 1;
+ }
/* If the byte string is non nlip and we are silencing non nlip bytes,
* do not let it go out on the console
*/
