mirror of
https://github.com/esp8266/Arduino.git
synced 2025-06-12 01:53:07 +03:00
- Make everything const by default.
- Remove setMeshInstance method from RequestData class. - Remove delay(50) and WiFi.disconnect() from setup() in the examples since those statements do not seem to have an effect any longer. - Improve documentation.
This commit is contained in:
@ -122,13 +122,6 @@ void setup() {
|
||||
WiFi.persistent(false);
|
||||
|
||||
Serial.begin(115200);
|
||||
delay(50); // Wait for Serial.
|
||||
|
||||
//yield(); // Use this if you don't want to wait for Serial, but not with the ESP-NOW backend (yield() causes crashes with ESP-NOW).
|
||||
|
||||
// The WiFi.disconnect() ensures that the WiFi is working correctly. If this is not done before receiving WiFi connections,
|
||||
// those WiFi connections will take a long time to make or sometimes will not work at all.
|
||||
WiFi.disconnect();
|
||||
|
||||
Serial.println();
|
||||
Serial.println();
|
||||
|
Reference in New Issue
Block a user