mirror of
https://github.com/micropython/micropython.git
synced 2025-12-15 17:30:14 +01:00
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>
27 KiB
27 KiB