1
0
Fork 0
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:
Hugo Chiang 2022-08-25 22:38:25 +08:00
parent c8a6f2a60c
commit 0088eb5f21
7 changed files with 2 additions and 24 deletions

View file

@ -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;
}