diff --git a/tests/host/common/MockEsp.cpp b/tests/host/common/MockEsp.cpp index 8ff16cd01a..c5ca502eda 100644 --- a/tests/host/common/MockEsp.cpp +++ b/tests/host/common/MockEsp.cpp @@ -120,7 +120,7 @@ uint32_t EspClass::getFreeSketchSpace() uint8_t EspClass::getCpuFreqMHz() { - return 160; + return F_CPU / 1000000; } const char *EspClass::getSdkVersion()