Merge pull request #7387 from klutvott123/Increase-voltage/current-cutoff-frequencies

Increase voltage/current cutoff frequencies
This commit is contained in:
Michael Keller 2019-01-15 21:32:23 +13:00 committed by GitHub
commit 521db54735
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ void currentMeterReset(currentMeter_t *meter)
// ADC/Virtual shared
//
#define IBAT_LPF_FREQ 0.4f
#define IBAT_LPF_FREQ 2.0f
static biquadFilter_t adciBatFilter;
#ifndef CURRENT_METER_SCALE_DEFAULT

View File

@ -67,7 +67,7 @@ typedef enum {
#define VBAT_MULTIPLIER_MIN 1
#define VBAT_MULTIPLIER_MAX 255
#define VBAT_LPF_FREQ 0.1f
#define VBAT_LPF_FREQ 0.5f
#ifndef MAX_VOLTAGE_SENSOR_ADC
#define MAX_VOLTAGE_SENSOR_ADC 1 // VBAT - some boards have external, 12V, 9V and 5V meters.