only:docs
This commit is contained in:
parent
d8e29459c0
commit
71c1ae82ae
|
@ -15,6 +15,7 @@ void TripOdometer::reset() {
|
|||
void TripOdometer::consumeFuel(float grams, efitick_t nowNt) {
|
||||
m_consumedRemainder += grams;
|
||||
|
||||
// 1000grams of fuel between invocations of TripOdometer logic means something very wrong, we do not control cruise ship engines yet!
|
||||
criticalAssertVoid(m_consumedRemainder < 1000, "m_consumedRemainder busy loop");
|
||||
while (m_consumedRemainder > 1) {
|
||||
m_consumedRemainder--;
|
||||
|
|
Loading…
Reference in New Issue