1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 08:15:30 +03:00

Add Experimental LPF parameter

This commit is contained in:
borisbstyle 2016-03-01 00:18:49 +01:00
parent 856ceee528
commit a2a58d8ccb
3 changed files with 7 additions and 3 deletions

View file

@ -44,7 +44,7 @@ bool gyroSyncCheckUpdate(void) {
void gyroUpdateSampleRate(uint8_t lpf, uint8_t gyroSyncDenominator) {
int gyroSamplePeriod;
if (!lpf) {
if (!lpf || lpf == 7) {
gyroSamplePeriod = 125;
} else {
gyroSamplePeriod = 1000;