diff options
| author | robert-hh <robert@hammelrath.com> | 2025-03-09 11:26:53 +0100 |
|---|---|---|
| committer | Damien George <damien@micropython.org> | 2025-03-27 11:37:57 +1100 |
| commit | 2b2a43187890c47a90ef28b0874691d4df176d14 (patch) | |
| tree | e87957a86018e1373959d6998337111482b685ad /py/mpconfig.h | |
| parent | 35d4d2d06bf2776070c0635e4e3093ef7a6c8f39 (diff) | |
rp2/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.
Signed-off-by: robert-hh <robert@hammelrath.com>
Diffstat (limited to 'py/mpconfig.h')
0 files changed, 0 insertions, 0 deletions
