1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00

remove const from reset_conf( since it allready is defined in the marko

This commit is contained in:
Steffen Windoffer 2017-12-21 20:09:38 +01:00
parent 6ed62b5761
commit c549b91b5e
3 changed files with 3 additions and 3 deletions

View file

@ -39,7 +39,7 @@ PG_REGISTER_ARRAY_WITH_RESET_FN(controlRateConfig_t, CONTROL_RATE_PROFILE_COUNT,
void pgResetFn_controlRateProfiles(controlRateConfig_t *controlRateConfig)
{
for (int i = 0; i < CONTROL_RATE_PROFILE_COUNT; i++) {
RESET_CONFIG(const controlRateConfig_t, &controlRateConfig[i],
RESET_CONFIG(controlRateConfig_t, &controlRateConfig[i],
.rcRate8 = 100,
.rcYawRate8 = 100,
.rcExpo8 = 0,