helping build
This commit is contained in:
parent
b504b170d0
commit
b4f6c6488f
|
@ -125,10 +125,10 @@ void setDcMotorDuty(size_t index, float duty) {
|
|||
etbHardware[index].dcMotor.set(duty);
|
||||
}
|
||||
|
||||
#if EFI_PROD_CODE
|
||||
|
||||
void showDcMotorInfo(Logging* logger, int i) {
|
||||
EtbHardware *etb = &etbHardware[i];
|
||||
|
||||
scheduleMsg(logger, " motor: dir=%d DC=%f", etb->dcMotor.isOpenDirection(), etb->dcMotor.get());
|
||||
}
|
||||
#endif
|
||||
|
||||
|
|
|
@ -19,6 +19,5 @@ DcMotor* initDcMotor(size_t index, bool useTwoWires DECLARE_ENGINE_PARAMETER_SUF
|
|||
void setDcMotorFrequency(size_t index, int hz);
|
||||
void setDcMotorDuty(size_t index, float duty);
|
||||
|
||||
#if EFI_PROD_CODE
|
||||
void showDcMotorInfo(Logging* logger, int i);
|
||||
#endif
|
||||
|
||||
|
|
|
@ -42,9 +42,10 @@
|
|||
#include "sensor.h"
|
||||
#include "electronic_throttle.h"
|
||||
|
||||
|
||||
#include "dc_motors.h"
|
||||
#if ! EFI_UNIT_TEST
|
||||
#include "stepper.h"
|
||||
#include "dc_motors.h"
|
||||
#include "pin_repository.h"
|
||||
static StepDirectionStepper iacStepperHw;
|
||||
static DualHBridgeStepper iacHbridgeHw;
|
||||
|
|
Loading…
Reference in New Issue