AP_RPM: remove unused

This commit is contained in:
Pierre Kancir 2023-06-09 16:15:07 +02:00 committed by Randy Mackay
parent 836042f454
commit 7514507dca
8 changed files with 1 additions and 10 deletions

View File

@ -116,8 +116,6 @@ private:
AP_RPM_Backend *drivers[RPM_MAX_INSTANCES];
uint8_t num_instances;
void detect_instance(uint8_t instance);
void Log_RPM() const;
};

View File

@ -17,8 +17,6 @@
#if AP_RPM_ENABLED
#include <AP_Common/AP_Common.h>
#include <AP_HAL/AP_HAL.h>
#include "AP_RPM.h"
/*

View File

@ -24,7 +24,6 @@
AP_RPM_EFI::AP_RPM_EFI(AP_RPM &_ap_rpm, uint8_t _instance, AP_RPM::RPM_State &_state) :
AP_RPM_Backend(_ap_rpm, _instance, _state)
{
instance = _instance;
}
void AP_RPM_EFI::update(void)

View File

@ -30,7 +30,6 @@ public:
void update(void) override;
private:
uint8_t instance;
};
#endif

View File

@ -28,7 +28,6 @@ extern const AP_HAL::HAL& hal;
AP_RPM_ESC_Telem::AP_RPM_ESC_Telem(AP_RPM &_ap_rpm, uint8_t _instance, AP_RPM::RPM_State &_state) :
AP_RPM_Backend(_ap_rpm, _instance, _state)
{
instance = _instance;
}

View File

@ -28,7 +28,6 @@ public:
// update state
void update(void) override;
private:
uint8_t instance;
};
#endif // AP_RPM_ESC_TELEM_ENABLED

View File

@ -23,7 +23,6 @@
AP_RPM_HarmonicNotch::AP_RPM_HarmonicNotch(AP_RPM &_ap_rpm, uint8_t _instance, AP_RPM::RPM_State &_state) :
AP_RPM_Backend(_ap_rpm, _instance, _state)
{
instance = _instance;
}
void AP_RPM_HarmonicNotch::update(void)

View File

@ -29,7 +29,7 @@ public:
void update(void) override;
private:
uint8_t instance;
};
#endif // AP_RPM_HARMONICNOTCH_ENABLED