Skip to content

Commit

Permalink
https://github.com/rusefi/rusefi-hardware/issues/253
Browse files Browse the repository at this point in the history
  • Loading branch information
rusefillc committed Oct 30, 2023
1 parent 7f05e45 commit 88b08a9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion firmware/controllers/actuators/electronic_throttle.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -551,7 +551,7 @@ void EtbController::setOutput(expected<percent_t> outputValue) {
m_motor->set(ETB_PERCENT_TO_DUTY(outputValue.Value));
} else {
// Otherwise disable the motor.
m_motor->disable("setOutput");
m_motor->disable("no-ETB");
}
}

Expand Down
1 change: 1 addition & 0 deletions firmware/controllers/can/can_bench_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -214,6 +214,7 @@ void processCanBenchTest(const CANRxFrame& frame) {
const dc_io *io = &engineConfiguration->etbIo[dcIndex];
directWritePad(io->controlPin, 1);
directWritePad(io->directionPin1, direction);
directWritePad(io->disablePin, 0); // disable pin is inverted - here we ENABLE. direct pin access due to qcDirectPinControlMode
} else if (command == bench_test_io_control_e::CAN_BENCH_SET_ENGINE_TYPE) {
int eType = frame.data8[2];
// todo: fix firmware for 'false' to be possible - i.e. more of properties should be applied on the fly
Expand Down

0 comments on commit 88b08a9

Please sign in to comment.