-
Notifications
You must be signed in to change notification settings - Fork 310
Description
I'm trying to setup a Wake On LAN using esp32 and this is the error I get
I've tried updating Json library, as well as downgrading it. Deleting telegramcertificate.h seems to fix the error but now my esp can't communicate with my board. I've verified that my board connects to PC and also verified using the chatcommand sketch that it connects to telegram.
This is the error message
In file included from c:\Users\hellb\Documents\Arduino\libraries\UniversalTelegramBot\src/UniversalTelegramBot.h:31,
from C:\Users\hellb\AppData\Local\Temp.arduinoIDE-unsaved2025319-18148-12hv1da.bui3\sketch_apr19e\sketch_apr19e.ino:4:
c:\Users\hellb\Documents\Arduino\libraries\UniversalTelegramBot\src/TelegramCertificate.h:9:12: error: redefinition of 'const char TELEGRAM_CERTIFICATE_ROOT []'
9 | const char TELEGRAM_CERTIFICATE_ROOT[] = R"=EOF=(
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from C:\Users\hellb\AppData\Local\Temp.arduinoIDE-unsaved2025319-18148-12hv1da.bui3\sketch_apr19e\sketch_apr19e.ino:3:
c:\Users\hellb\Documents\Arduino\libraries\UniversalTelegramBot\src/TelegramCertificate.h:9:12: note: 'const char TELEGRAM_CERTIFICATE_ROOT [1369]' previously defined here
9 | const char TELEGRAM_CERTIFICATE_ROOT[] = R"=EOF=(
| ^~~~~~~~~~~~~~~~~~~~~~~~~
exit status 1
Compilation error: exit status 1