mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-08 18:52:46 +08:00
Checking if fix status is less or equal to 0 rather than just equal
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user