mirror of
https://github.com/esp8266/Arduino.git
synced 2025-04-27 21:16:50 +03:00
fix 160Mhz mode
add missing 0 16000000L != 160000000L
This commit is contained in:
parent
dd844fc0f3
commit
0a712e78c7
@ -48,7 +48,7 @@ extern void setup();
|
||||
|
||||
void preloop_update_frequency() __attribute__((weak));
|
||||
void preloop_update_frequency() {
|
||||
#if defined(F_CPU) && (F_CPU == 16000000L)
|
||||
#if defined(F_CPU) && (F_CPU == 160000000L)
|
||||
REG_SET_BIT(0x3ff00014, BIT(0));
|
||||
ets_update_cpu_frequency(160);
|
||||
#endif
|
||||
|
Loading…
x
Reference in New Issue
Block a user