parent
4e539dfa3e
commit
c393b1b5e5
|
@ -621,7 +621,6 @@ void EtbController::update() {
|
|||
bool isOk = checkStatus();
|
||||
|
||||
if (!isOk) {
|
||||
state = (uint8_t)EtbState::NotOk;
|
||||
// If engine is stopped and so configured, skip the ETB update entirely
|
||||
// This is quieter and pulls less power than leaving it on all the time
|
||||
m_motor->disable("etb status");
|
||||
|
|
|
@ -49,9 +49,8 @@ enum class EtbState : uint8_t {
|
|||
Active, // 7
|
||||
NoPedal, // 8
|
||||
FailFast, // 9
|
||||
NotOk, // 10
|
||||
InInit, // 10
|
||||
SuccessfulInit, // 11
|
||||
InInit, // 12
|
||||
};
|
||||
|
||||
class DcMotor;
|
||||
|
|
Loading…
Reference in New Issue