From 935e05a56a0bf7c015ebcd624e5f9edc74dba4c8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Hru=C5=A1ka?= Date: Mon, 2 Oct 2017 19:51:58 +0200 Subject: [PATCH] Disable Rx pin pull-up, caused malfunction with cheap adapters --- user/uart_handler.c | 1 + 1 file changed, 1 insertion(+) diff --git a/user/uart_handler.c b/user/uart_handler.c index 66a2f4a..622565a 100755 --- a/user/uart_handler.c +++ b/user/uart_handler.c @@ -52,6 +52,7 @@ void ICACHE_FLASH_ATTR UART_Init(void) // U0RXD PIN_FUNC_SELECT(PERIPHS_IO_MUX_U0RXD_U, FUNC_U0RXD); + PIN_PULLUP_DIS(PERIPHS_IO_MUX_U0RXD_U); // U1TXD (GPIO2) PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO2_U, FUNC_U1TXD_BK);