Open KK4HFJ opened 1 year ago
\esp32_getconfig.ino: In function 'void setup()': \esp32_getconfig.ino:66:97: error: no matching function for call to 'UDHttp::download(const char [59], int (&)(uint8_t, int), void (&)(int))' udh.download("http://www.smart-words.org/linking-words/linking-words.pdf", wdataf, progressf); ^ In file included from \esp32_getconfig.ino:1: \libraries\UDHttp\src/UDHttp.h:27:13: note: candidate: 'int UDHttp::download(char, char, DataCb, ProgressCb)' int download(char downloadUrl, char *downloadFile, DataCb dataCb, ProgressCb progressCb); ^~~~ \libraries\UDHttp\src/UDHttp.h:27:13: note: candidate expects 4 arguments, 3 provided
exit status 1
Compilation error: no matching function for call to 'UDHttp::download(const char [59], int (&)(uint8_t*, int), void (&)(int))'
\esp32_getconfig.ino: In function 'void setup()': \esp32_getconfig.ino:66:97: error: no matching function for call to 'UDHttp::download(const char [59], int (&)(uint8_t, int), void (&)(int))' udh.download("http://www.smart-words.org/linking-words/linking-words.pdf", wdataf, progressf); ^ In file included from \esp32_getconfig.ino:1: \libraries\UDHttp\src/UDHttp.h:27:13: note: candidate: 'int UDHttp::download(char, char, DataCb, ProgressCb)' int download(char downloadUrl, char *downloadFile, DataCb dataCb, ProgressCb progressCb); ^
~~~ \libraries\UDHttp\src/UDHttp.h:27:13: note: candidate expects 4 arguments, 3 providedexit status 1
Compilation error: no matching function for call to 'UDHttp::download(const char [59], int (&)(uint8_t*, int), void (&)(int))'