Skip to content

Commit 57f2409

Browse files
committed
revert e02932f (esp8266#619 works now without it)
1 parent 831e75d commit 57f2409

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)