parent
1bcb3e8033
commit
3528befe13
|
@ -269,6 +269,12 @@ float IdleController::getClosedLoop(IIdleController::Phase phase, float tpsPos,
|
||||||
}
|
}
|
||||||
|
|
||||||
float IdleController::getIdlePosition() {
|
float IdleController::getIdlePosition() {
|
||||||
|
// Simplify hardware CI: we borrow the idle valve controller as a PWM source for various stimulation tasks
|
||||||
|
// The logic in this function is solidly unit tested, so it's not necessary to re-test the particulars on real hardware.
|
||||||
|
#ifdef HARDWARE_CI
|
||||||
|
return engineConfiguration->manIdlePosition;
|
||||||
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Here we have idle logic thread - actual stepper movement is implemented in a separate
|
* Here we have idle logic thread - actual stepper movement is implemented in a separate
|
||||||
* working thread see stepper.cpp
|
* working thread see stepper.cpp
|
||||||
|
|
Loading…
Reference in New Issue