Skip to content

Commit

Permalink
fixed examples
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbredholt committed Dec 9, 2019
1 parent a1d5d48 commit 2c764d4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion examples/Example_AnalogRead/Example_AnalogRead.ino
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ void setup() {
WiFi.begin(ssid, password);

// Disable WiFi power save (huge latency improvements)
esp_wifi_set_ps(WIFI_PS_NONE)
esp_wifi_set_ps(WIFI_PS_NONE);

// Wait for connection
while (WiFi.status() != WL_CONNECTED) {
Expand Down
2 changes: 1 addition & 1 deletion examples/Example_ESP32/Example_ESP32.ino
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ void setup() {
WiFi.begin(ssid, password);

// Disable WiFi power save (huge latency improvements)
esp_wifi_set_ps(WIFI_PS_NONE)
esp_wifi_set_ps(WIFI_PS_NONE);

while (WiFi.status() != WL_CONNECTED) {
delay(500);
Expand Down
2 changes: 1 addition & 1 deletion examples/Example_M5StickC/Example_M5StickC.ino
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ void setup() {
WiFi.begin(ssid, password);

// Disable WiFi power save (huge latency improvements)
esp_wifi_set_ps(WIFI_PS_NONE)
esp_wifi_set_ps(WIFI_PS_NONE);

while (WiFi.status() != WL_CONNECTED) {
M5.Lcd.fillScreen(ORANGE);
Expand Down

0 comments on commit 2c764d4

Please sign in to comment.