mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-07 16:23:38 +03:00
getCpuFreqMHz(): fix when F_CPU is not defined (#7554)
This commit is contained in:
parent
e53aa87160
commit
53e4dec51f
@ -127,10 +127,7 @@ class EspClass {
|
|||||||
return esp_get_cpu_freq_mhz();
|
return esp_get_cpu_freq_mhz();
|
||||||
}
|
}
|
||||||
#else
|
#else
|
||||||
uint8_t getCpuFreqMHz() const
|
uint8_t getCpuFreqMHz() const;
|
||||||
{
|
|
||||||
return esp_get_cpu_freq_mhz();
|
|
||||||
}
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
uint32_t getFlashChipId();
|
uint32_t getFlashChipId();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user