Closed jony-g06 closed 2 years ago
Which vehicle are you trying to compile for?
The openbot that appears on the website
Hi jony-g06, did you try moving the line 238 inside the void setup() scope ? Something like:
void setup()
{
...
#if (OPENBOT == LITE)
coast_mode = !coast_mode;
#endif
}
This solves the issue in my case.
Thanks @quentin-leboutet, I merged your PR. @jony-g06 can you pull again from master and try if it works for you?
I just downloaded the firmware file to my computer in order to get the code for the openbot and, after checking it, it gives an error on line 238 that says "'coast_mode' does not name a type", even though it is defined as a boolean on line 62 with a value of 1. What can I do to fix the error?