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>
printf("GPS %2d sat",
(gps_data->flags & AO_GPS_NUM_SAT_MASK) >> AO_GPS_NUM_SAT_SHIFT);;
if (gps_data->flags & AO_GPS_VALID) {
- printf(" %2d:%02d:%02d %2d°%2d.%04d'%c %2d°%2d.%04d'%c %5dm\n",
+ printf(" %2d:%02d:%02d %2d°%02d.%04d'%c %2d°%02d.%04d'%c %5dm\n",
gps_data->hour,
gps_data->minute,
gps_data->second,