Open nagy opened 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.
WiFi.config
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
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:
https://github.com/espressif/arduino-esp32/blob/2.0.13/libraries/WiFi/src/WiFiSTA.h#L58