altos: Optimize fetching of ADC data in flight code
authorKeith Packard <keithp@keithp.com>
Sat, 15 Jan 2011 20:25:57 +0000 (12:25 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 17 Jan 2011 04:24:36 +0000 (20:24 -0800)
commit2887fe7affc0706dbeb2f04df9a00a9b799903ed
treea0f24870448c27f6fa708dadffb49a22db719a1f
parent2681a17500913cbaf3966f09380bb1d6b59e3863
altos: Optimize fetching of ADC data in flight code

This stores the address of the desired sample in a local variable and
then fetches through that. Saves quite a few instructions.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/ao_flight.c