Files
esp-idf/components
Omar Chebib abd6ea3087 uart: Add missing critical section wrappers around rx_buffered_len
The missing barriers caused uart_get_buffered_data_len() to (very rarely)
return a garbage value. When used in MicroPython, though, this caused
select() to return and a subsequent read() to stall indefinitely until
a char was actually available.

Signed-off-by: Chen Yi Qun <chenyiqun@espressif.com>

Closes https://github.com/espressif/esp-idf/issues/6397
Merges https://github.com/espressif/esp-idf/pull/6396
2021-08-16 17:32:14 +08:00
..
2019-06-21 19:53:29 +08:00
2021-07-13 18:52:40 +10:00
2019-06-21 19:53:29 +08:00
2021-07-13 18:52:40 +10:00
2019-06-21 19:53:29 +08:00
2021-07-13 18:52:40 +10:00
2019-06-21 19:53:29 +08:00