alanswx / ESPAsyncWiFiManager

Port WiFiManager to ESP Async Server
MIT License
222 stars 85 forks source link

Build Failure ESPAsyncWiFiManager.cpp:398:51 #89

Closed bmoniey closed 3 years ago

bmoniey commented 3 years ago

C:\Users\moran.platformio\packages\framework-arduinoespressif32\cores\esp32/WString.h:358:9: note: conversion of argument 1 would be ill-formed: .pio\libdeps\esp32doit-devkit-v1\ESPAsyncWiFiManager\src\ESPAsyncWiFiManager.cpp:398:51: error: invalid conversion from 'const __FlashStringHelper*' to 'long unsigned int' [-fpermissive] DEBUG_WM(F("DUP AP: ") + wifiSSIDs[j].SSID); ^

Corrected by replacing with: DEBUG_WM("DUP AP: " + wifiSSIDs[j].SSID);

alanswx commented 3 years ago

Can you send me a patch? Thank you.

hmronline commented 3 years ago

I will fix it in the following hours

hmronline commented 3 years ago

@bmoniey I've just submitted a PR that includes a fix for this. Could you please test the new version once it's available and close this issue if everything is ok ? thank you!

bmoniey commented 3 years ago

@hmronline I just tried out your pull request #90. Loaded it to an ESP32 and works as expected thanks! @hmronline Many thanks for your work. Cheers.