Closed willbelr closed 1 year ago
In the line 168 should only contain #else
But there must be another error somewhere.
This has been there since v2.0.0. I assume the issue may be a different compiler version? I'll take a look this evening
This fixed the problem: https://github.com/MCUdude/MicroCore/issues/21#issuecomment-513410807 Then I reinstalled LG boards along with "Arduino AVR Boards", changed the elif to else, restarted the IDE and it works!
Again? Almost the same strange error occured when 2.0.0 released, but with a different error message: https://github.com/dbuezas/lgt8fx/issues/244#issuecomment-1406445477
It must be using a different compiler for some reason. In the meanwhile, I'm releasing v2.0.2 with the #elif
replaced with an #else
v2.0.2 released. It's so convenient now, merge a PR and there's a new version deployed in a minute :)
I'll link to that solution in a pinned comment
Settings
When trying to compile any code for that board, I get this error:
Hence, I edited main.cpp so line 168 becomes "#elif F_DIC <= 256" instead of just "#elif". Then it compile a little further and end up with that error: