ETB duty cycle jitter #4833
This commit is contained in:
parent
98e886e00b
commit
6ad3ce13d6
|
@ -76,7 +76,7 @@ public:
|
|||
protected:
|
||||
// This is set if an automatic TPS calibration should be run
|
||||
bool m_isAutocal = false;
|
||||
bool wasInputError = false;
|
||||
int prevErrorState = false;
|
||||
|
||||
etb_function_e getFunction() const { return m_function; }
|
||||
DcMotor* getMotor() { return m_motor; }
|
||||
|
|
|
@ -65,5 +65,5 @@ TEST(etb, integratedTpsJitter) {
|
|||
Sensor::setInvalidMockValue(SensorType::Tps1);
|
||||
etb->update();
|
||||
|
||||
ASSERT_EQ(1, etb->etbInputErrorCounter);
|
||||
ASSERT_EQ(2, etb->etbInputErrorCounter);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue