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:
parent
becdeb4c9b
commit
f858cd9d38
3 changed files with 3 additions and 3 deletions
|
@ -373,7 +373,7 @@ void processRx(timeUs_t currentTimeUs)
|
|||
|
||||
if (!cliMode) {
|
||||
updateAdjustmentStates(adjustmentProfile()->adjustmentRanges);
|
||||
processRcAdjustments(currentControlRateProfile, rxConfig());
|
||||
processRcAdjustments(currentControlRateProfile);
|
||||
}
|
||||
|
||||
bool canUseHorizonMode = true;
|
||||
|
|
|
@ -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();
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue