update min inductance

This commit is contained in:
Oskar Weigl
2019-01-29 19:34:28 -08:00
parent 9328617092
commit 19f266c0fa
+1 -1
View File
@@ -276,7 +276,7 @@ bool Motor::measure_phase_inductance(float voltage_low, float voltage_high) {
config_.phase_inductance = L;
// TODO arbitrary values set for now
if (L < 4e-6f || L > 4000e-6f)
if (L < 2e-6f || L > 4000e-6f)
return set_error(ERROR_PHASE_INDUCTANCE_OUT_OF_RANGE), false;
return true;
}