]> git.gag.com Git - fw/altos/commit
Format GPS seconds as %02d.%04d to avoid spaces in the value
authorKeith Packard <keithp@keithp.com>
Thu, 4 Jun 2009 21:38:45 +0000 (14:38 -0700)
committerKeith Packard <keithp@keithp.com>
Thu, 4 Jun 2009 21:38:45 +0000 (14:38 -0700)
commit7adea9c59c73acd52743446c74fb675e0a1d6d05
tree2ce25066fb42e4fd30b85630f884631649a0b842
parenta0e6bfee635b64092262936c858542318f6fc6dc
Format GPS seconds as %02d.%04d to avoid spaces in the value

The aoview GPS parsing code doesn't deal well with spaces in the middle of
the value, so pad the seconds field with a zero as needed.

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