1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-21 10:26:06 +03:00

Remove stale patch for SDK v1.1 and earlier (#8858)

rts_reg address referenced was not valid for SDK v2.0.0 and up.
rts_reg[30] = 0; cleared storaged used to set TestStaFreqCalValInput.
This commit is contained in:
M Hightower 2023-02-22 14:02:55 -08:00 committed by GitHub
parent 71a51b1113
commit be02af0504
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);