File tree Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Expand file tree Collapse file tree 2 files changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -157,7 +157,7 @@ class EspClass {
157
157
uint8_t getBootVersion ();
158
158
uint8_t getBootMode ();
159
159
160
- #if !defined(CORE_MOCK) && defined(F_CPU)
160
+ #if defined(F_CPU)
161
161
constexpr uint8_t getCpuFreqMHz () const
162
162
{
163
163
return clockCyclesPerMicrosecond ();
@@ -166,7 +166,6 @@ class EspClass {
166
166
uint8_t getCpuFreqMHz ();
167
167
#endif
168
168
169
-
170
169
uint32_t getFlashChipId ();
171
170
uint8_t getFlashChipVendorId ();
172
171
Original file line number Diff line number Diff line change @@ -118,11 +118,6 @@ uint32_t EspClass::getFreeSketchSpace()
118
118
return 4 * 1024 * 1024 ;
119
119
}
120
120
121
- uint8_t EspClass::getCpuFreqMHz ()
122
- {
123
- return F_CPU / 1000000 ;
124
- }
125
-
126
121
const char *EspClass::getSdkVersion ()
127
122
{
128
123
return " 2.5.0" ;
You can’t perform that action at this time.
0 commit comments