filter less

This commit is contained in:
Matthew Kennedy 2020-12-11 02:04:23 -08:00
parent 68f9bb915a
commit db855532c7
1 changed files with 1 additions and 1 deletions

View File

@ -43,7 +43,7 @@ static void SamplingThread(void*)
nernstAc = f_abs(r2_opposite_phase - r_2);
nernstDc = (r2_opposite_phase + r_2) / 2;
pumpCurrentSenseVoltage = 0.8f * pumpCurrentSenseVoltage + 0.2f * (result.PumpCurrentVoltage - result.VirtualGroundVoltageInt);
pumpCurrentSenseVoltage = 0.7f * pumpCurrentSenseVoltage + 0.3f * (result.PumpCurrentVoltage - result.VirtualGroundVoltageInt);
// Shift history over by one
r_3 = r_2;