Quote:
|
I tried the comment out ... The error moves to the new "if" statement.
|
That shows that both those if statements have the same error. Probably not an imbalanced { } from above. (You can remove the /* comment */). I'm still thinking the #define MAXTORQUE isn't being seen by this file.
If you change MAXTORQUE to 100 does the error go away?
(I'm also imagining poor billbo911 running from the computer with mplab all the way across the room to the computer with internet access.)