Skip to content

Commit 7210ad3

Browse files
committed
Asymmetrical includes and defines on host
1 parent 08927ba commit 7210ad3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: cores/esp8266/Esp.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ class EspClass {
157157
uint8_t getBootVersion();
158158
uint8_t getBootMode();
159159

160-
#if defined(F_CPU)
160+
#if defined(F_CPU) || defined(CORE_MOCK)
161161
constexpr uint8_t getCpuFreqMHz() const
162162
{
163163
return clockCyclesPerMicrosecond();

0 commit comments

Comments
 (0)