mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-06 05:21:22 +03:00
F_CPU is available and is 80000000 (#6841)
This commit is contained in:
parent
56fe2bfe73
commit
7ab1f615ac
@ -120,7 +120,7 @@ uint32_t EspClass::getFreeSketchSpace()
|
|||||||
|
|
||||||
uint8_t EspClass::getCpuFreqMHz()
|
uint8_t EspClass::getCpuFreqMHz()
|
||||||
{
|
{
|
||||||
return 160;
|
return F_CPU / 1000000;
|
||||||
}
|
}
|
||||||
|
|
||||||
const char *EspClass::getSdkVersion()
|
const char *EspClass::getSdkVersion()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user