Closed GoogleCodeExporter closed 9 years ago
Thanks missed that it was already set inside readPID(). For some unexplained
reason I can't get readPI working for altitude or zdampening. When I try to
recall them after reboot, they read some other random value. It's very
puzzling because that would mean readPID shouldn't work anywhere else?
I'll close this as fixed, but will comment out the readPIDs for AltitudeHold
for now. Maybe you can see something going on?
Thank you for this overall fix, it has saved a lot of space. I'm thinking of a
similar strategy with the Serial Comm stuff. Will post about it in forums.
Original comment by CaranchoEngineering@gmail.com
on 4 Dec 2010 at 9:49
Change the declaration of if IDEeprom from byte to int to fit the used range.
Old: void readPID(unsigned char IDPid, unsigned char IDEeprom) {
New: void readPID(unsigned char IDPid, unsigned int IDEeprom) {
Original comment by al...@arcor.de
on 4 Dec 2010 at 12:57
Original issue reported on code.google.com by
al...@arcor.de
on 4 Dec 2010 at 1:36