AP_GPS: fixed num_sensors on APM2

This commit is contained in:
Andrew Tridgell 2014-04-11 21:32:55 +10:00
parent 7404fc9d40
commit 3b8839d2f7

View File

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