Skip to content

Commit

Permalink
Revert to 1.0 gyro filtering default (42HZ)
Browse files Browse the repository at this point in the history
  • Loading branch information
digitalentity committed May 13, 2016
1 parent 3cd1f75 commit a8a9ba8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/config/config.c
Original file line number Diff line number Diff line change
Expand Up @@ -441,7 +441,7 @@ static void resetConf(void)
masterConfig.dcm_ki_acc = 50; // 0.005 * 10000
masterConfig.dcm_kp_mag = 10000; // 1.00 * 10000
masterConfig.dcm_ki_mag = 0; // 0.00 * 10000
masterConfig.gyro_lpf = 2; // BITS_DLPF_CFG_98HZ, In case of ST gyro, will default to 54Hz instead
masterConfig.gyro_lpf = 3; // INV_FILTER_42HZ, In case of ST gyro, will default to 32Hz instead

resetAccelerometerTrims(&masterConfig.accZero, &masterConfig.accGain);

Expand Down

0 comments on commit a8a9ba8

Please sign in to comment.