Closed h1aji closed 2 years ago
I am seeing this error message when I am trying to compile the code with esp-idf 3.3.1
esp/Ka-Radio32/main/app_main.c:672:3: error: cannot convert to a pointer type ip_addr_t *ipdns0 = (ip_addr_t *)dns_getserver(0);
Is this piece of code supposed to work? https://github.com/karawin/Ka-Radio32/blob/571d4c9cfc7de54758d13e2592883516c9008c3d/main/app_main.c#L672
I had to reverse it and set it to ip_addr_t ipdns0 = dns_getserver(0); to make working
ip_addr_t ipdns0 = dns_getserver(0);
Try esp-idf 3.3.5
Thank you @Ant-12 it worked.
@karawin would you be able to update README.md and set correct sdk version? I have created PR. Thanks
I am seeing this error message when I am trying to compile the code with esp-idf 3.3.1
Is this piece of code supposed to work? https://github.com/karawin/Ka-Radio32/blob/571d4c9cfc7de54758d13e2592883516c9008c3d/main/app_main.c#L672
I had to reverse it and set it to
ip_addr_t ipdns0 = dns_getserver(0);
to make working