herolic / aeroquad

Automatically exported from code.google.com/p/aeroquad
0 stars 0 forks source link

Reduced code size by 500 byte #69

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Rearanged address mapping of the transmitter data in the eeprom so loops can be 
used to read and write the data. See 
http://aeroquad.com/showthread.php?1628-Rearranging-eeprom-storage-addresses

Original issue reported on code.google.com by al...@arcor.de on 23 Dec 2010 at 3:02

Attachments:

GoogleCodeExporter commented 9 years ago
Ted,

after talking to Ala42... here's what you need to do.

a) take the 3 files in the zip attached to this, put them somewhere for a minute
b) take the receiver.h from there 
http://aeroquad.com/showthread.php?1651-Bugfixes-and-optimizations-to-Receiver.h
&p=16154&viewfull=1#post16154 and place it somewhere different from above
c) take the initialize section of the code from the receiver.h in the 3 file 
kit, and replace it in the version in step b) above.  See for reference. 
http://aeroquad.com/showthread.php?1628-Rearranging-eeprom-storage-addresses&p=1
6667&viewfull=1#post16667

This should leave you with the datastorage.h, the aeroquad.h, from step a) 
above and the modified receiver.h from steps b,c) above.  Those are what I'm 
building with, along with the rest of the changes...  This should resolve the 
latest of aeroquad.h and receiver.h and get you the best datastorage.h file all 
from the changes from ala42.

Let me know if you have questions.
Alan

Original comment by akadam...@gmail.com on 6 Jan 2011 at 1:59

GoogleCodeExporter commented 9 years ago
Great timing... I started sorting through all this and came up with a plan last 
night, and was going to implemement it now.  I'll follow these directions and 
flight test it before pushing to GitHub.  As always, thanks bud!

Original comment by CaranchoEngineering@gmail.com on 6 Jan 2011 at 4:33

GoogleCodeExporter commented 9 years ago
done!

Original comment by CaranchoEngineering@gmail.com on 7 Jan 2011 at 7:54