example: fix printf line

This commit is contained in:
Evgueni Souleimanov 2014-06-17 20:52:05 -04:00
parent a52c1faa27
commit 6f9ffab883

View File

@ -50,8 +50,8 @@ int main(void)
frame.latitude_error_deviation.value, frame.latitude_error_deviation.scale, frame.latitude_error_deviation.value, frame.latitude_error_deviation.scale,
frame.longitude_error_deviation.value, frame.longitude_error_deviation.scale, frame.longitude_error_deviation.value, frame.longitude_error_deviation.scale,
frame.altitude_error_deviation.value, frame.altitude_error_deviation.scale); frame.altitude_error_deviation.value, frame.altitude_error_deviation.scale);
printf("$xxGST fixed point latitude,longitude and altitude error deviation \ printf("$xxGST fixed point latitude,longitude and altitude error deviation"
scaled to one decimal place: (%d,%d,%d)\n", " scaled to one decimal place: (%d,%d,%d)\n",
minmea_rescale(&frame.latitude_error_deviation, 10), minmea_rescale(&frame.latitude_error_deviation, 10),
minmea_rescale(&frame.longitude_error_deviation, 10), minmea_rescale(&frame.longitude_error_deviation, 10),
minmea_rescale(&frame.altitude_error_deviation, 10)); minmea_rescale(&frame.altitude_error_deviation, 10));