Disable Rx pin pull-up, caused malfunction with cheap adapters
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user