mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-26 17:55:30 +03:00
Removing unused PIDWeight variable.
This commit is contained in:
parent
0608601644
commit
d2f878ef00
2 changed files with 1 additions and 2 deletions
|
@ -128,7 +128,7 @@ static uint32_t activeFeaturesLatch = 0;
|
||||||
static uint8_t currentControlRateProfileIndex = 0;
|
static uint8_t currentControlRateProfileIndex = 0;
|
||||||
controlRateConfig_t *currentControlRateProfile;
|
controlRateConfig_t *currentControlRateProfile;
|
||||||
|
|
||||||
static const uint8_t EEPROM_CONF_VERSION = 102;
|
static const uint8_t EEPROM_CONF_VERSION = 103;
|
||||||
|
|
||||||
static void resetAccelerometerTrims(flightDynamicsTrims_t *accelerometerTrims)
|
static void resetAccelerometerTrims(flightDynamicsTrims_t *accelerometerTrims)
|
||||||
{
|
{
|
||||||
|
|
|
@ -55,7 +55,6 @@ typedef struct pidProfile_s {
|
||||||
uint8_t P8[PID_ITEM_COUNT];
|
uint8_t P8[PID_ITEM_COUNT];
|
||||||
uint8_t I8[PID_ITEM_COUNT];
|
uint8_t I8[PID_ITEM_COUNT];
|
||||||
uint8_t D8[PID_ITEM_COUNT];
|
uint8_t D8[PID_ITEM_COUNT];
|
||||||
uint8_t PIDweight[PID_ITEM_COUNT];
|
|
||||||
|
|
||||||
float P_f[3]; // float p i and d factors for lux float pid controller
|
float P_f[3]; // float p i and d factors for lux float pid controller
|
||||||
float I_f[3];
|
float I_f[3];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue