yangsong8-a1 opened a new pull request, #21157: URL: https://github.com/apache/nuttx/pull/21157
## Summary Fix early return in uart_check_special skipping subsequent chars and speeds up how it scans the buffer. ## Impact Only serial.c and the uart_check_special() function. The function is only built when CONFIG_TTY_SIGINT, CONFIG_TTY_SIGTSTP, CONFIG_TTY_FORCE_PANIC or CONFIG_TTY_LAUNCH is enabled. ## Testing enable configuration: CONFIG_TTY_SIGINT=y CONFIG_TTY_SIGTSTP=y CONFIG_TTY_LAUNCH= CONFIG_TTY_FORCE_PANIC=y CONFIG_TTY_FORCE_PANIC_REPEAT_COUNT=3 then test SIGINT, LAUNCH and FORCE_PANIC(3 times), The execution results are in line with expectations. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
