summaryrefslogtreecommitdiff
path: root/py/mpconfig.h
diff options
context:
space:
mode:
authorrobert-hh <robert@hammelrath.com>2025-03-09 11:39:12 +0100
committerDamien George <damien@micropython.org>2025-03-27 11:38:31 +1100
commit6db7b47ab931db3e95d2d97ad3c383a6ba035bb0 (patch)
tree46953dd53e2cfe627d14c339eb7b0e625fa7b7ff /py/mpconfig.h
parent2b2a43187890c47a90ef28b0874691d4df176d14 (diff)
samd/machine_uart: Fix unintended UART buffer allocation on init().
The buffer was be reset on every call to uart.init(). If no sizes were given, the buffer was set to the default size 256. That made problems e.g. with PPP. This commit fixes it, keeping the buffer size if not deliberately changed and allocating new buffers only if the size was changed. Cater for changes of the bits value, which requires a change to the buffer size. Signed-off-by: robert-hh <robert@hammelrath.com>
Diffstat (limited to 'py/mpconfig.h')
0 files changed, 0 insertions, 0 deletions