mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
Make ppm/pwm input filtering configurable.
This commit is contained in:
parent
226e38de3e
commit
0ac2b51c60
10 changed files with 49 additions and 4 deletions
|
@ -27,6 +27,7 @@
|
|||
|
||||
#include "drivers/accgyro.h"
|
||||
#include "drivers/system.h"
|
||||
#include "drivers/pwm_rx.h"
|
||||
|
||||
#include "sensors/sensors.h"
|
||||
#include "sensors/gyro.h"
|
||||
|
@ -244,6 +245,8 @@ static void resetConf(void)
|
|||
masterConfig.rxConfig.maxcheck = 1900;
|
||||
masterConfig.rxConfig.rssi_channel = 0;
|
||||
|
||||
masterConfig.inputFilteringMode = INPUT_FILTERING_DISABLED;
|
||||
|
||||
masterConfig.retarded_arm = 0; // disable arm/disarm on roll left/right
|
||||
masterConfig.airplaneConfig.flaps_speed = 0;
|
||||
masterConfig.fixedwing_althold_dir = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue