1
0
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:
Dirk O. Kaar 2019-11-26 18:32:13 +01:00 committed by Earle F. Philhower, III
parent 56fe2bfe73
commit 7ab1f615ac

View File

@ -120,7 +120,7 @@ uint32_t EspClass::getFreeSketchSpace()
uint8_t EspClass::getCpuFreqMHz()
{
return 160;
return F_CPU / 1000000;
}
const char *EspClass::getSdkVersion()