1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-04-25 20:02:37 +03:00

fix 160Mhz mode

add missing 0
16000000L != 160000000L
This commit is contained in:
Markus Sattler 2015-05-01 14:11:09 +02:00
parent dd844fc0f3
commit 0a712e78c7

View File

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