From f86f8ab99436656c64661249aaec7e21b20a7d49 Mon Sep 17 00:00:00 2001 From: M Hightower <27247790+mhightower83@users.noreply.github.com> Date: Tue, 14 Feb 2023 20:14:29 -0800 Subject: [PATCH] Remove stale patch for SDK v1.1 and earlier rts_reg address referenced was not valid for SDK v2.0.0 and up. rts_reg[30] = 0; cleared storaged used to set TestStaFreqCalValInput. --- cores/esp8266/core_esp8266_phy.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/cores/esp8266/core_esp8266_phy.cpp b/cores/esp8266/core_esp8266_phy.cpp index 4a32b44810..2a324a85f9 100644 --- a/cores/esp8266/core_esp8266_phy.cpp +++ b/cores/esp8266/core_esp8266_phy.cpp @@ -360,10 +360,7 @@ void user_rf_pre_init() { // *((volatile uint32_t*) 0x60000710) = 0; spoof_init_data = false; - volatile uint32_t* rtc_reg = (volatile uint32_t*) 0x60001000; - rtc_reg[30] = 0; - system_set_os_print(0); int rf_mode = __get_rf_mode(); if (rf_mode >= 0) { system_phy_set_rfoption(rf_mode);