Increase voltage/current cutoff frequencies
Increase IBAT_LPF_FREQ and VBAT_LPF_FREQ
This commit is contained in:
parent
d3aa5855ce
commit
6770bbafca
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue