From 08ab8b58db919254985024dad33f85a1f723eebc Mon Sep 17 00:00:00 2001 From: Thorsten von Eicken Date: Wed, 19 Aug 2015 14:13:25 -0700 Subject: [PATCH] fix swap-uart --- serial/serbridge.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/serial/serbridge.c b/serial/serbridge.c index e18ac82..0d6dc57 100644 --- a/serial/serbridge.c +++ b/serial/serbridge.c @@ -328,6 +328,8 @@ void ICACHE_FLASH_ATTR serbridgeInitPins() { if (flashConfig.swap_uart) { PIN_FUNC_SELECT(PERIPHS_IO_MUX_MTCK_U, 4); PIN_FUNC_SELECT(PERIPHS_IO_MUX_MTDO_U, 4); + PIN_PULLUP_DIS(PERIPHS_IO_MUX_MTCK_U); + PIN_PULLUP_DIS(PERIPHS_IO_MUX_MTDO_U); system_uart_swap(); } else { PIN_FUNC_SELECT(PERIPHS_IO_MUX_U0TXD_U, 0);