summaryrefslogtreecommitdiffstatshomepage
path: root/docs/tutorial
diff options
context:
space:
mode:
authorDamien George <damien.p.george@gmail.com>2014-11-27 17:04:09 +0000
committerDamien George <damien.p.george@gmail.com>2014-11-27 17:04:09 +0000
commit317cf18486a4791b0322aadcb07c32c6e0a7d0d9 (patch)
treebf766828e4b7b2a33ceed64c01f34b990acf6526 /docs/tutorial
parent5cbc9e0db0f01e1e643e8c091a536b54372df5bd (diff)
downloadmicropython-317cf18486a4791b0322aadcb07c32c6e0a7d0d9.tar.gz
micropython-317cf18486a4791b0322aadcb07c32c6e0a7d0d9.zip
stmhal: Remove unnecessary HAL_Delay in readline loop.
The reason for having this delay is to reduce power consumption at the REPL (HAL_Delay calls __WFI to idle the CPU). But stdin_rx_chr has a __WFI in it anyway, so this delay call is not needed. By removing this call, the readline input can consume characters much more quickly (before was limited to 1000 chrs/s), and has much reduced dependency on the specific port.
Diffstat (limited to 'docs/tutorial')
0 files changed, 0 insertions, 0 deletions