altos: mark gps date written only after it gets into eeprom
authorKeith Packard <keithp@keithp.com>
Fri, 27 Aug 2010 06:37:29 +0000 (23:37 -0700)
committerKeith Packard <keithp@keithp.com>
Fri, 27 Aug 2010 06:37:29 +0000 (23:37 -0700)
commit68b2b66d7574dfd0bd5e3571b8ffad32ca5d2b73
tree23e144c57c6f2193cb71feeb4848633a2853d44f
parentaa6c27df5db6bdae59d00affccb891854a6caa18
altos: mark gps date written only after it gets into eeprom

Data logging doesn't start until boost detect occurs. As the GPS date
is only logged once, if that happens before logging is written to the
flash, then the GPS date will never get saved.

Signed-off-by: Keith Packard <keithp@keithp.com>
src/ao.h
src/ao_gps_report.c
src/ao_log.c