Skip to content

Commit

Permalink
AP_ExternalAHRS: add default implementation for num_gps_sensors()
Browse files Browse the repository at this point in the history
  • Loading branch information
tridge committed May 8, 2024
1 parent d0875d0 commit 28003d0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/AP_ExternalAHRS/AP_ExternalAHRS_backend.h
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ class AP_ExternalAHRS_backend {
virtual void update() = 0;

// Return the number of GPS sensors sharing data to AP_GPS.
virtual uint8_t num_gps_sensors(void) const = 0;
virtual uint8_t num_gps_sensors(void) const { return 0; }

protected:
AP_ExternalAHRS::state_t &state;
Expand Down

0 comments on commit 28003d0

Please sign in to comment.