1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-17 05:15:25 +03:00

Bump clang version to 18 (#14116)

This commit is contained in:
Mark Haslinghuis 2025-01-03 14:43:33 +01:00 committed by GitHub
parent d6739ed566
commit f6985a8bfa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 87 additions and 37 deletions

View file

@ -262,9 +262,15 @@ protected:
controlRateConfig_t controlRateConfig = {
.thrMid8 = 0,
.thrExpo8 = 0,
.rates_type = RATES_TYPE_BETAFLIGHT,
.rcRates = {[FD_ROLL] = 90, [FD_PITCH] = 90},
.rcExpo = {[FD_ROLL] = 0, [FD_PITCH] = 0, [FD_YAW] = 0},
.rates = {0, 0, 0},
.throttle_limit_type = THROTTLE_LIMIT_TYPE_OFF,
.throttle_limit_percent = 100,
.rate_limit = {0, 0, 0},
.profileName = "default",
.quickRatesRcExpo = 0,
};
channelRange_t fullRange = {
@ -361,9 +367,15 @@ TEST_F(RcControlsAdjustmentsTest, processRcAdjustmentsWithRcRateFunctionSwitchUp
controlRateConfig_t controlRateConfig = {
.thrMid8 = 0,
.thrExpo8 = 0,
.rates_type = RATES_TYPE_BETAFLIGHT,
.rcRates = {[FD_ROLL] = 90, [FD_PITCH] = 90},
.rcExpo = {[FD_ROLL] = 0, [FD_PITCH] = 0, [FD_YAW] = 0},
.rates = {0,0,0},
.rates = {0, 0, 0},
.throttle_limit_type = THROTTLE_LIMIT_TYPE_OFF,
.throttle_limit_percent = 100,
.rate_limit = {0, 0, 0},
.profileName = "default",
.quickRatesRcExpo = 0,
};
// and