Skip to content

Commit 7ab1f61

Browse files
dok-netearlephilhower
authored andcommitted
F_CPU is available and is 80000000 (#6841)
1 parent 56fe2bf commit 7ab1f61

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/host/common/MockEsp.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ uint32_t EspClass::getFreeSketchSpace()
120120

121121
uint8_t EspClass::getCpuFreqMHz()
122122
{
123-
return 160;
123+
return F_CPU / 1000000;
124124
}
125125

126126
const char *EspClass::getSdkVersion()

0 commit comments

Comments
 (0)