Update instruction comment and clean code.

This commit is contained in:
Phat Nguyen
2024-03-24 08:51:39 +07:00
parent 3537a3012c
commit a960d086e1
2 changed files with 3 additions and 3 deletions

View File

@ -25,7 +25,7 @@ Important flashing settings:
- Flash frequency "80Mhz" - Flash frequency "80Mhz"
- Flash mode "QIO" - Flash mode "QIO"
- Flash size "4MB" - Flash size "4MB"
- Partition scheme "Default 4MB with spiffs (1.2MB APP/1,5MB SPIFFS)" - Partition scheme "Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)"
- JTAG adapter "Disabled" - JTAG adapter "Disabled"
Configuration parameters, e.g. Celsius / Fahrenheit or PM unit (US AQI vs ug/m3) Configuration parameters, e.g. Celsius / Fahrenheit or PM unit (US AQI vs ug/m3)
@ -804,7 +804,7 @@ void setup() {
/** /**
* Send first data to ping server and get server configuration * Send first data to ping server and get server configuration
*/ */
if (WiFi.status() == WL_CONNECTED) { if (WiFi.isConnected()) {
webServerInit(); webServerInit();
/** MQTT init */ /** MQTT init */

View File

@ -25,7 +25,7 @@ Important flashing settings:
- Flash frequency "80Mhz" - Flash frequency "80Mhz"
- Flash mode "QIO" - Flash mode "QIO"
- Flash size "4MB" - Flash size "4MB"
- Partition scheme "Default 4MB with spiffs (1.2MB APP/1,5MB SPIFFS)" - Partition scheme "Minimal SPIFFS (1.9MB APP with OTA/190KB SPIFFS)"
- JTAG adapter "Disabled" - JTAG adapter "Disabled"
If you have any questions please visit our forum at If you have any questions please visit our forum at