Closed
Description
or at least, all my code didnt work without em :)
e.g.
setup() {
// stuff
}
loop() {
// do things
myfunction();
}
void myfunction() {
//code
}
no longer works without sticking void myfunction();
at the top (before loop())
is it a big deal? not really, but its ... unusual since neither avr compilation requires nor was this required before.
Its mentioned here https://www.arduino.cc/en/Main/FAQ
"Your sketch undergoes minor changes (e.g. automatic generation of function prototypes) and then is passed directly to a C/C++ compiler (avr-g++)."
perhaps that step is not done anymore?
anyways, ill look into it too