Open Barell69 opened 1 year ago
These are warnings that shouldn't cause any problems. What operating system are you using? And what SDCC version?
Hi, W10/11, SDCC the latest one -- sdcc-4.3.0-x64.
Confirmed with 4.3.2.
Adding void
in empty function arguments removes the warning. https://stackoverflow.com/a/47693
Btw, I wonder if different SDCC releases produce different binaries.
okey :)
In which file should I make this change - ebike_app.c ? After overwriting all static void's still two messages alive :)
I have overwritten also this two lines with "void" and now I am without all errors
uint16_t read_battery_soc(void); uint16_t read_battery_soc(void)
I hope all these changes don't have any impact to the programming process! Many thanks guys !
It won't make any difference to the resulting binary in this case, but yes in C this:
void foo();
Means foo can take any number of arguments
If you have a patch for this already I suggest creating a PR
Hello guys, I get some ebike_app errors during flashing, can me someone help with this potenciall issue ? The flashing procedure afterwards runs ok, but I am not sure, if all parameters are flashed properly. many thanks