Update AsyncWebSocket.cpp
Fix compile error for ESP32-C3 RISC-V toolchain ( ambiguous type)
Original compile error :
xxx/ESPAsyncWebServer/src/AsyncWebSocket.cpp:832:28: error: call of overloaded 'IPAddress(unsigned int)' is ambiguous return IPAddress(0U); ^
xxx/.arduino15/packages/esp32/hardware/esp32/2.0.1/cores/esp32/IPAddress.h:51:5: note: candidate: 'IPAddress::IPAddress(const uint8_t*)' IPAddress(const uint8_t *address); ^~~~~~~~~ xxx/.arduino15/packages/esp32/hardware/esp32/2.0.1/cores/esp32/IPAddress.h:50:5: note: candidate: 'IPAddress::IPAddress(uint32_t)' IPAddress(uint32_t address);
I wanted to push this as well. I was unable to get the most recent release to work with my ESP32-C3 project, and this branch compiled without issue.
Thanks. The Marlin Firmware greatly appreciates your compatibility work. (https://github.com/MarlinFirmware/Marlin/pull/25327)
Please rename the subject of this issue to "Fix compilation error on RISC-V processor ESP32-C3"
related https://github.com/me-no-dev/ESPAsyncWebServer/pull/970