mirror of
https://github.com/okalachev/flix.git
synced 2026-08-15 16:29:00 +00:00
Disable voltage lpf by default
Filtering does more harm than good in voltage monitoring. (alpha = 1 efficiently disables the filter.)
This commit is contained in:
+1
-1
@@ -9,7 +9,7 @@
|
||||
#include "util.h"
|
||||
|
||||
float voltage = NAN;
|
||||
LowPassFilter<float> voltageFilter(0.2);
|
||||
LowPassFilter<float> voltageFilter(1);
|
||||
int voltagePin = -1;
|
||||
float voltageScale = 2;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user