Checking if fix status is less or equal to 0 rather than just equal

This commit is contained in:
Denis Yeldandi
2014-10-10 18:42:24 +04:00
parent fb6a68af70
commit 686d3f4c79
+1 -1
View File
@@ -178,7 +178,7 @@ int ASHTECH::handle_message(int len)
_gps_position->alt = alt * 1000;
_rate_count_lat_lon++;
if (fix_quality == 0) {
if (fix_quality <= 0) {
_gps_position->fix_type = 0;
} else {