Skip to content

Commit

Permalink
Update instruction comment and clean code.
Browse files Browse the repository at this point in the history
  • Loading branch information
pnt325 committed Mar 24, 2024
1 parent 3537a30 commit a960d08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions examples/ONE/ONE.ino
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Important flashing settings:
- Flash frequency "80Mhz"
- Flash mode "QIO"
- 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"
Configuration parameters, e.g. Celsius / Fahrenheit or PM unit (US AQI vs ug/m3)
Expand Down Expand Up @@ -804,7 +804,7 @@ void setup() {
/**
* Send first data to ping server and get server configuration
*/
if (WiFi.status() == WL_CONNECTED) {
if (WiFi.isConnected()) {
webServerInit();

/** MQTT init */
Expand Down
2 changes: 1 addition & 1 deletion examples/Open_Air/Open_Air.ino
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Important flashing settings:
- Flash frequency "80Mhz"
- Flash mode "QIO"
- 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"
If you have any questions please visit our forum at
Expand Down

0 comments on commit a960d08

Please sign in to comment.