]> granicus.if.org Git - esp-idf/commit
Update UART driver
authorWangjialin <wangjialin@espressif.com>
Thu, 3 Nov 2016 18:48:25 +0000 (02:48 +0800)
committerWangjialin <wangjialin@espressif.com>
Thu, 3 Nov 2016 18:48:25 +0000 (02:48 +0800)
commita6b3be6734b8f8acd13a8f401d046f3531b7a893
tree1fc1d0581f6688298392f6f1c34e206816ad814d
parent9ed7c4f8bc7f0c8d1f26bf68877b95099b6703ef
Update UART driver

1. fix bug in ringbuffer.c:
    When return an dummy item, free_ptr might exceed rd_ptr, so the write_ptr would overwrite rd_ptr in this case.
2. Delete UART tx task in buffer mode. UART ISR will copy the data from tx buffer to fifo.
components/driver/include/driver/uart.h
components/driver/uart.c