1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 20:35:33 +03:00

Removed unused parameter to processRcAdjustments

This commit is contained in:
Martin Budden 2017-02-02 11:23:39 +00:00
parent becdeb4c9b
commit f858cd9d38
3 changed files with 3 additions and 3 deletions

View file

@ -373,7 +373,7 @@ void processRx(timeUs_t currentTimeUs)
if (!cliMode) {
updateAdjustmentStates(adjustmentProfile()->adjustmentRanges);
processRcAdjustments(currentControlRateProfile, rxConfig());
processRcAdjustments(currentControlRateProfile);
}
bool canUseHorizonMode = true;

View file

@ -646,7 +646,7 @@ static void applySelectAdjustment(uint8_t adjustmentFunction, uint8_t position)
#define RESET_FREQUENCY_2HZ (1000 / 2)
void processRcAdjustments(controlRateConfig_t *controlRateConfig, const rxConfig_t *rxConfig)
void processRcAdjustments(controlRateConfig_t *controlRateConfig)
{
uint8_t adjustmentIndex;
uint32_t now = millis();

View file

@ -295,7 +295,7 @@ bool isAirmodeActive(void);
void resetAdjustmentStates(void);
void updateAdjustmentStates(adjustmentRange_t *adjustmentRanges);
struct rxConfig_s;
void processRcAdjustments(controlRateConfig_t *controlRateConfig, const struct rxConfig_s *rxConfig);
void processRcAdjustments(controlRateConfig_t *controlRateConfig);
bool isUsingSticksForArming(void);