Comments (3)
Agree regarding the max. The frag is OK.
Currently they are declared as:
uint32_t free = info.total_free_bytes;
uint16_t max = info.largest_free_block;
uint8_t frag = 100 - (max * 100) / free;
Should be:
uint32_t free = info.total_free_bytes;
uint32_t max = info.largest_free_block;
uint8_t frag = 100 - (max * 100) / free;
The printf then becomes : _debugPort.printf("[MEM] free: %5ld | max: %5ld | frag: %3d%% \n", free, max, frag);
from wifimanager.
Hmm I would think free and max should be the same type also
from wifimanager.
from wifimanager.
Related Issues (20)
- WiFi settings are not saved if ESP32 is restarted in SaveConfigCallback HOT 26
- Add support for simultaneo use whit ESPAsyncWebServer.h HOT 4
- Add better detection for wrong password failures HOT 1
- Esp8266 and deep sleep mode
- ESP32 Automatic Network Mode Switching with Arduino Sketch Troubleshooting HOT 7
- error Exception (3) on ESP8266 with version 2.0.17 and not 2.0.16 HOT 5
- Custom page addition matching current layout and format
- If anyone wants to change the name (SSID) of the Access Point (AP) that appears (with the IP address 192.168.4.1) HOT 12
- Wifimanager and ESP Mail Client HOT 4
- Possibility to change pass for SoftAP from webui.
- Feature configurable? WiFi AP started when local WiFi is down HOT 2
- How to save and restore Ip adress from webportal ?
- Dedicated Parameter Page HOT 1
- Unable to save/retrieve custom variables in WiFiManager
- Q: ESP Reboot after successful initial connection to own wifi possible (bind issue with Async Webserver from AP to STA)
- Esp32 wroom 32 UE
- Question: Is there a way to detect if the WiFi connection is successful before the config portal closes? HOT 1
- Force remove DNS input from Captive portal
- Question: Is possible change deep link to redirect to an App instead of Captive Portal HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wifimanager.