Andrey Starodubtsev b5b629c584 Fix couple of UART issues
- there was a small race in `uart_pattern_link_free`:
  `rx_pattern_pos.data` was accessed for reading outside spinlock
- `uart_flush_input` enabled
  `UART_INTR_RXFIFO_FULL|UART_INTR_RXFIFO_TOUT` intr mask on exit even
  if these flags weren't set when function was called

Closes https://github.com/espressif/esp-idf/pull/7023
2021-07-27 10:50:05 +08:00
..
2021-01-13 10:52:27 +08:00
2021-06-17 12:57:58 +08:00
2021-01-25 04:51:40 +00:00
2021-01-12 14:05:08 +08:00
2021-07-27 10:50:05 +08:00