Merge pull request #7387 from klutvott123/Increase-voltage/current-cutoff-frequencies
Increase voltage/current cutoff frequencies
This commit is contained in:
commit
521db54735
|
@ -86,7 +86,7 @@ void currentMeterReset(currentMeter_t *meter)
|
||||||
// ADC/Virtual shared
|
// ADC/Virtual shared
|
||||||
//
|
//
|
||||||
|
|
||||||
#define IBAT_LPF_FREQ 0.4f
|
#define IBAT_LPF_FREQ 2.0f
|
||||||
static biquadFilter_t adciBatFilter;
|
static biquadFilter_t adciBatFilter;
|
||||||
|
|
||||||
#ifndef CURRENT_METER_SCALE_DEFAULT
|
#ifndef CURRENT_METER_SCALE_DEFAULT
|
||||||
|
|
|
@ -67,7 +67,7 @@ typedef enum {
|
||||||
#define VBAT_MULTIPLIER_MIN 1
|
#define VBAT_MULTIPLIER_MIN 1
|
||||||
#define VBAT_MULTIPLIER_MAX 255
|
#define VBAT_MULTIPLIER_MAX 255
|
||||||
|
|
||||||
#define VBAT_LPF_FREQ 0.1f
|
#define VBAT_LPF_FREQ 0.5f
|
||||||
|
|
||||||
#ifndef MAX_VOLTAGE_SENSOR_ADC
|
#ifndef MAX_VOLTAGE_SENSOR_ADC
|
||||||
#define MAX_VOLTAGE_SENSOR_ADC 1 // VBAT - some boards have external, 12V, 9V and 5V meters.
|
#define MAX_VOLTAGE_SENSOR_ADC 1 // VBAT - some boards have external, 12V, 9V and 5V meters.
|
||||||
|
|
Loading…
Reference in New Issue