1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-24 00:35:39 +03:00

Added some further build flags for ROM saving

This commit is contained in:
Martin Budden 2016-07-27 16:13:14 +01:00
parent 4790e857e4
commit b5c62df3f8
10 changed files with 37 additions and 10 deletions

View file

@ -327,7 +327,9 @@ void init(void)
#ifdef CC3D
pwm_params.useBuzzerP6 = masterConfig.use_buzzer_p6 ? true : false;
#endif
#ifndef SKIP_RX_PWM_PPM
pwmRxInit(masterConfig.inputFilteringMode);
#endif
// pwmInit() needs to be called as soon as possible for ESC compatibility reasons
pwmOutputConfiguration_t *pwmOutputConfiguration = pwmInit(&pwm_params);