AP_NavEKF2: Publish the number of instances

This commit is contained in:
Paul Riseborough 2015-11-06 22:54:22 +11:00 committed by Andrew Tridgell
parent 46e4c45537
commit 6c2dc3ccf8
1 changed files with 3 additions and 3 deletions

View File

@ -43,9 +43,9 @@ public:
NavEKF2(const AP_AHRS *ahrs, AP_Baro &baro, const RangeFinder &rng);
// allow logging to determine if enabled
bool enabled(void) const {
return _enable != 0;
// allow logging to determine the number of active cores
uint8_t activeCores(void) const {
return num_cores;
}
// Initialise the filter