From 61cc11da2213688d8bf32d09b0d09ff3515fa377 Mon Sep 17 00:00:00 2001 From: Anthony Elder Date: Sun, 19 Aug 2018 08:38:18 +0100 Subject: [PATCH] revert e02932f (#619 works now without it) (#5056) --- cores/esp8266/core_esp8266_phy.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/cores/esp8266/core_esp8266_phy.c b/cores/esp8266/core_esp8266_phy.c index df3701ec3e..d15b6830b1 100644 --- a/cores/esp8266/core_esp8266_phy.c +++ b/cores/esp8266/core_esp8266_phy.c @@ -301,10 +301,7 @@ void user_rf_pre_init() // *((volatile uint32_t*) 0x60000710) = 0; spoof_init_data = false; volatile uint32_t* rtc_reg = (volatile uint32_t*) 0x60001000; - if((rtc_reg[24] >> 16) > 4) { - rtc_reg[24] &= 0xFFFF; - rtc_reg[30] = 0; - } + rtc_reg[30] = 0; system_set_os_print(0); int rf_mode = __get_rf_mode();