On 9/17/26 10:58 AM, Patrice Chotard wrote:
On STM32MP157C-DK2, when aborting the command "ums" using CTRL-C
it may take a while to get the control back on the console,
sometimes around 1 second.

By removing the if (k == 10) test, it increases the CTRL+C responsiveness.

Tested on STM32MP157C-DK board.
I still have two questions:

First, do you have actual timing figures here -- how long did it take from one ctrl_c() invocation to the next ctrl_c() invocation. Use e.g. get_timer_us() to time this.

Second, does this increase in break condition checking impact throughput of the UMS ?

Reply via email to