altos: Variable log rate in full logging code too
authorKeith Packard <keithp@keithp.com>
Sun, 27 Mar 2011 06:15:36 +0000 (23:15 -0700)
committerKeith Packard <keithp@keithp.com>
Sun, 27 Mar 2011 06:15:36 +0000 (23:15 -0700)
commit3945d8f986d8f4bd3186a2cbaed5186e49d59839
tree7eee055e181cbf573a52695a5b00ecfb89269776
parent97517ee585462c2d355f23f999fb8d9ebd908ec1
altos: Variable log rate in full logging code too

With the fixed ADC rate used to get better data during flight, the
logging code now needs to vary the data storage rate so that descent
data is recorded at 10 samples/second while ascent data is recorded at
1 sample per second. Having the logging code do this itself eliminates
any interaction with the flight code.

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