-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a235588
commit e45bdb1
Showing
1 changed file
with
9 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2453,8 +2453,15 @@ void WiFiManager::DEBUG_WM(wm_debuglevel_t level,Generic text,Genericb textb) { | |
if(!_debug || _debugLevel < level) return; | ||
|
||
if(_debugLevel >= DEBUG_MAX){ | ||
_debugPort.print("MEM: "); | ||
_debugPort.println((String)ESP.getFreeHeap()); | ||
_debugPort.println("MEM: "); | ||
uint32_t free; | ||
uint16_t max; | ||
uint8_t frag; | ||
ESP.getHeapStats(&free, &max, &frag); | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
crankyoldgit
|
||
_debugPort.printf("[MEM] free: %5d | max: %5d | frag: %3d%% \n", free, max, frag); | ||
// _debugPort.print((String)ESP.getFreeHeap()); | ||
// _debugPort.print((String)ESP.getMaxFreeBlockSize()); | ||
// _debugPort.print((String)ESP.getHeapFragmentation()); | ||
} | ||
_debugPort.print("*WM: "); | ||
if(_debugLevel == DEBUG_DEV) _debugPort.print("["+(String)level+"] "); | ||
|
This line is breaking the build of your WiFiManager dev branch.
See: https://travis-ci.org/tzapu/WiFiManager/builds/611206484#L4049
I noticed it when Travis CI told me recent PR failed for my own project.
https://travis-ci.org/crankyoldgit/IRremoteESP8266/jobs/611283011#L5873
Ref: crankyoldgit/IRremoteESP8266#993