Skip to content

Commit

Permalink
F_CPU is available and is 80000000 (esp8266#6841)
Browse files Browse the repository at this point in the history
  • Loading branch information
dok-net authored and earlephilhower committed Nov 26, 2019
1 parent 56fe2bf commit 7ab1f61
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/host/common/MockEsp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ uint32_t EspClass::getFreeSketchSpace()

uint8_t EspClass::getCpuFreqMHz()
{
return 160;
return F_CPU / 1000000;
}

const char *EspClass::getSdkVersion()
Expand Down

0 comments on commit 7ab1f61

Please sign in to comment.