Skip to content

Commit

Permalink
Fix Debug Log format (#1722)
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkZeros authored Mar 17, 2024
1 parent d82d0a1 commit 76efbd5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion WiFiManager.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3365,7 +3365,7 @@ void WiFiManager::DEBUG_WM(wm_debuglevel_t level,Generic text,Genericb textb) {
uint32_t free = info.total_free_bytes;
uint16_t max = info.largest_free_block;
uint8_t frag = 100 - (max * 100) / free;
_debugPort.printf("[MEM] free: %5d | max: %5d | frag: %3d%% \n", free, max, frag);
_debugPort.printf("[MEM] free: %5lu | max: %5u | frag: %3u%% \n", free, max, frag);
#endif
}

Expand Down

0 comments on commit 76efbd5

Please sign in to comment.