This commit is contained in:
Matthew Kennedy 2020-10-31 17:12:34 -07:00
parent e16c1b626d
commit 0e350c9f66
1 changed files with 3 additions and 3 deletions

View File

@ -23,11 +23,11 @@ static void PumpThread(void*)
// result is in mA // result is in mA
SetPumpCurrentTarget(result / 1000.0f); SetPumpCurrentTarget(result / 1000.0f);
}
// Run at 500hz // Run at 500hz
chThdSleepMilliseconds(2); chThdSleepMilliseconds(2);
} }
}
} }
void StartPumpControl() void StartPumpControl()