Disable Rx pin pull-up, caused malfunction with cheap adapters

new-codepages
Ondřej Hruška 7 years ago
parent a72e2bed63
commit 935e05a56a
Signed by: MightyPork
GPG Key ID: 2C5FD5035250423D
  1. 1
      user/uart_handler.c

@ -52,6 +52,7 @@ void ICACHE_FLASH_ATTR UART_Init(void)
// U0RXD // U0RXD
PIN_FUNC_SELECT(PERIPHS_IO_MUX_U0RXD_U, FUNC_U0RXD); PIN_FUNC_SELECT(PERIPHS_IO_MUX_U0RXD_U, FUNC_U0RXD);
PIN_PULLUP_DIS(PERIPHS_IO_MUX_U0RXD_U);
// U1TXD (GPIO2) // U1TXD (GPIO2)
PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO2_U, FUNC_U1TXD_BK); PIN_FUNC_SELECT(PERIPHS_IO_MUX_GPIO2_U, FUNC_U1TXD_BK);

Loading…
Cancel
Save