summaryrefslogtreecommitdiff
path: root/ports/esp8266
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2018-09-18 15:38:12 -0400
committerDan Halbert <halbert@halwitz.org>2018-09-18 15:38:12 -0400
commitbc510e714f4fde7af949c525ced5c8a4db53bce0 (patch)
tree40be4302742b016cc98f4f3966058e84756b7f99 /ports/esp8266
parent53fcc5a3a207d606c7e3ee2c0c877295a0fb4e2f (diff)
parent2dd9407f2125e724b4b9a1cdd4d0d0cc01284b31 (diff)
merge 3.0.2 to master
Diffstat (limited to 'ports/esp8266')
-rw-r--r--ports/esp8266/common-hal/busio/UART.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ports/esp8266/common-hal/busio/UART.c b/ports/esp8266/common-hal/busio/UART.c
index 7a4ca6e0d..e68e739f3 100644
--- a/ports/esp8266/common-hal/busio/UART.c
+++ b/ports/esp8266/common-hal/busio/UART.c
@@ -138,6 +138,9 @@ uint32_t common_hal_busio_uart_rx_characters_available(busio_uart_obj_t *self) {
return 0;
}
+void common_hal_busio_uart_clear_rx_buffer(busio_uart_obj_t *self) {
+}
+
bool common_hal_busio_uart_ready_to_tx(busio_uart_obj_t *self) {
return true;
}