Void function: a function-definition is not allowed here before '{' token

That's not necessary any more since member guix figured out the problem.
Thanks anyways.

Working now on the 25 - 100% not turn on the motor.