Merge remote-tracking branch 'origin/Hellen_fork_point' into master
# Conflicts: # firmware/controllers/algo/engine.h # firmware/hw_layer/drivers/drivers.mk # firmware/hw_layer/stepper.h # firmware/integration/rusefi_config.txt # firmware/tunerstudio/rusefi.input # simulator/simulator/efifeatures.h
This commit is contained in:
commit
f33b3eda8a
|
@ -685,6 +685,14 @@ bool isIdleMotorBusy(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
|||
return iacMotor.isBusy();
|
||||
}
|
||||
|
||||
bool isIdleMotorBusy(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||
if (!CONFIG(useStepperIdle)) {
|
||||
// todo: check other motor types?
|
||||
return false;
|
||||
}
|
||||
return iacMotor.isBusy();
|
||||
}
|
||||
|
||||
void stopIdleHardware(DECLARE_ENGINE_PARAMETER_SIGNATURE) {
|
||||
#if EFI_PROD_CODE
|
||||
brain_pin_markUnused(activeConfiguration.stepperEnablePin);
|
||||
|
|
Loading…
Reference in New Issue