Skip to content

Commit 209b742

Browse files
committed
fix 160Mhz mode
add missing 0 16000000L != 160000000L
1 parent b72e083 commit 209b742

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hardware/esp8266com/esp8266/cores/esp8266/core_esp8266_main.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ extern void setup();
4848

4949
void preloop_update_frequency() __attribute__((weak));
5050
void preloop_update_frequency() {
51-
#if defined(F_CPU) && (F_CPU == 16000000L)
51+
#if defined(F_CPU) && (F_CPU == 160000000L)
5252
REG_SET_BIT(0x3ff00014, BIT(0));
5353
ets_update_cpu_frequency(160);
5454
#endif

0 commit comments

Comments
 (0)