modefy initialization for dgps_age

modefy initialization for dgps_age
This commit is contained in:
gdpinchina 2018-09-08 13:10:06 +08:00 committed by GitHub
parent c4a5a01d66
commit 79b964a5b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -519,7 +519,7 @@ START_TEST(test_minmea_parse_gga1)
.altitude_units = 'M',
.height = { 469, 10 },
.height_units = 'M',
.dgps_age = 0,
.dgps_age = { 0, 10 },
};
ck_assert(minmea_check(sentence, false) == true);
ck_assert(minmea_check(sentence, true) == true);