AP_AHRS: Backend: remove unused methods
This commit is contained in:
parent
a794688f3b
commit
25b19f0a08
@ -72,18 +72,6 @@ public:
|
||||
// init sets up INS board orientation
|
||||
virtual void init();
|
||||
|
||||
// return the index of the primary core or -1 if no primary core selected
|
||||
virtual int8_t get_primary_core_index() const { return -1; }
|
||||
|
||||
// get the index of the current primary accelerometer sensor
|
||||
virtual uint8_t get_primary_accel_index(void) const {
|
||||
#if AP_INERTIALSENSOR_ENABLED
|
||||
return AP::ins().get_first_usable_accel();
|
||||
#else
|
||||
return 0;
|
||||
#endif
|
||||
}
|
||||
|
||||
// get the index of the current primary gyro sensor
|
||||
virtual uint8_t get_primary_gyro_index(void) const {
|
||||
#if AP_INERTIALSENSOR_ENABLED
|
||||
|
Loading…
Reference in New Issue
Block a user