flagxor / ueforth

Apache License 2.0
90 stars 26 forks source link

Fix WiFi doc , add two diagnostic words #55

Open nagy opened 9 months ago

nagy commented 9 months ago

The order in the documentation of WiFi.config is mixed up. This fixes the order. You can verify this for yourself with the accompanying diagnostic words.

Reference:

bool config(IPAddress local_ip,
            IPAddress gateway,
            IPAddress subnet,
            IPAddress dns1 = (uint32_t)0x00000000,
            IPAddress dns2 = (uint32_t)0x00000000);

https://github.com/espressif/arduino-esp32/blob/2.0.13/libraries/WiFi/src/WiFiSTA.h#L58