mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 12:55:19 +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) {
|
if (!cliMode) {
|
||||||
updateAdjustmentStates(adjustmentProfile()->adjustmentRanges);
|
updateAdjustmentStates(adjustmentProfile()->adjustmentRanges);
|
||||||
processRcAdjustments(currentControlRateProfile, rxConfig());
|
processRcAdjustments(currentControlRateProfile);
|
||||||
}
|
}
|
||||||
|
|
||||||
bool canUseHorizonMode = true;
|
bool canUseHorizonMode = true;
|
||||||
|
|
|
@ -646,7 +646,7 @@ static void applySelectAdjustment(uint8_t adjustmentFunction, uint8_t position)
|
||||||
|
|
||||||
#define RESET_FREQUENCY_2HZ (1000 / 2)
|
#define RESET_FREQUENCY_2HZ (1000 / 2)
|
||||||
|
|
||||||
void processRcAdjustments(controlRateConfig_t *controlRateConfig, const rxConfig_t *rxConfig)
|
void processRcAdjustments(controlRateConfig_t *controlRateConfig)
|
||||||
{
|
{
|
||||||
uint8_t adjustmentIndex;
|
uint8_t adjustmentIndex;
|
||||||
uint32_t now = millis();
|
uint32_t now = millis();
|
||||||
|
|
|
@ -295,7 +295,7 @@ bool isAirmodeActive(void);
|
||||||
void resetAdjustmentStates(void);
|
void resetAdjustmentStates(void);
|
||||||
void updateAdjustmentStates(adjustmentRange_t *adjustmentRanges);
|
void updateAdjustmentStates(adjustmentRange_t *adjustmentRanges);
|
||||||
struct rxConfig_s;
|
struct rxConfig_s;
|
||||||
void processRcAdjustments(controlRateConfig_t *controlRateConfig, const struct rxConfig_s *rxConfig);
|
void processRcAdjustments(controlRateConfig_t *controlRateConfig);
|
||||||
|
|
||||||
bool isUsingSticksForArming(void);
|
bool isUsingSticksForArming(void);
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue