mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-25 17:25:20 +03:00
switch case cleanup
Co-Authored-By: Petr Ledvina <ledvinap@gmail.com> Co-Authored-By: haslinghuis <mark@numloq.nl>
This commit is contained in:
parent
c8a6f2a60c
commit
0088eb5f21
7 changed files with 2 additions and 24 deletions
|
@ -705,23 +705,18 @@ void initRcProcessing(void)
|
|||
case RATES_TYPE_BETAFLIGHT:
|
||||
default:
|
||||
applyRates = applyBetaflightRates;
|
||||
|
||||
break;
|
||||
case RATES_TYPE_RACEFLIGHT:
|
||||
applyRates = applyRaceFlightRates;
|
||||
|
||||
break;
|
||||
case RATES_TYPE_KISS:
|
||||
applyRates = applyKissRates;
|
||||
|
||||
break;
|
||||
case RATES_TYPE_ACTUAL:
|
||||
applyRates = applyActualRates;
|
||||
|
||||
break;
|
||||
case RATES_TYPE_QUICK:
|
||||
applyRates = applyQuickRates;
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue