Browse Source

AP_GPS: fixed num_sensors on APM2

mission-4.1.18
Andrew Tridgell 11 years ago
parent
commit
3b8839d2f7
  1. 2
      libraries/AP_GPS/AP_GPS.cpp

2
libraries/AP_GPS/AP_GPS.cpp

@ -291,6 +291,8 @@ AP_GPS::update(void)
primary_instance = i; primary_instance = i;
} }
} }
#else
num_instances = 1;
#endif // GPS_MAX_INSTANCES #endif // GPS_MAX_INSTANCES
} }

Loading…
Cancel
Save