Skip to content

Commit

Permalink
Remove stale patch for SDK v1.1 and earlier (#8858)
Browse files Browse the repository at this point in the history
rts_reg address referenced was not valid for SDK v2.0.0 and up.
rts_reg[30] = 0; cleared storaged used to set TestStaFreqCalValInput.
  • Loading branch information
mhightower83 authored Feb 22, 2023
1 parent 71a51b1 commit be02af0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions cores/esp8266/core_esp8266_phy.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit be02af0

Please sign in to comment.