summaryrefslogtreecommitdiffstatshomepage
path: root/tests/extmod/ssl_sslcontext_verify_mode.py
diff options
context:
space:
mode:
authorDamien George <damien@micropython.org>2024-10-21 16:32:24 +1100
committerDamien George <damien@micropython.org>2024-10-22 10:17:05 +1100
commit97af1001ae07c573bf432b9923dcdf78055a508c (patch)
tree55fb7563b75ec1f199957f4b0856033a390b566b /tests/extmod/ssl_sslcontext_verify_mode.py
parent1b89c503db690967d50699abe0bfa942f6f6b15e (diff)
downloadmicropython-97af1001ae07c573bf432b9923dcdf78055a508c.tar.gz
micropython-97af1001ae07c573bf432b9923dcdf78055a508c.zip
rp2/machine_uart: Make it so TX is done only when no longer busy.
Prior to this commit, when flushing a UART on the rp2 port, it returns just before the last character is sent out the wire. Fix this by waiting until the BUSY flag is cleared. This also fixes the behaviour of `UART.txdone()` to return `True` only when the last byte has gone out. Updated docs and tests to match. The test now checks that UART TX time is very close to the expected time (prior, it was just testing that the TX time was less than the expected time). Signed-off-by: Damien George <damien@micropython.org>
Diffstat (limited to 'tests/extmod/ssl_sslcontext_verify_mode.py')
0 files changed, 0 insertions, 0 deletions