Skip to content

Commit 61cc11d

Browse files
torntrousersdevyte
authored andcommitted
revert e02932f (#619 works now without it) (#5056)
1 parent d96c8f3 commit 61cc11d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

cores/esp8266/core_esp8266_phy.c

+1-4
Original file line numberDiff line numberDiff line change
@@ -301,10 +301,7 @@ void user_rf_pre_init()
301301
// *((volatile uint32_t*) 0x60000710) = 0;
302302
spoof_init_data = false;
303303
volatile uint32_t* rtc_reg = (volatile uint32_t*) 0x60001000;
304-
if((rtc_reg[24] >> 16) > 4) {
305-
rtc_reg[24] &= 0xFFFF;
306-
rtc_reg[30] = 0;
307-
}
304+
rtc_reg[30] = 0;
308305

309306
system_set_os_print(0);
310307
int rf_mode = __get_rf_mode();

0 commit comments

Comments
 (0)