only:docs

This commit is contained in:
rusefillc 2024-12-17 16:01:12 -05:00
parent d8e29459c0
commit 71c1ae82ae
1 changed files with 1 additions and 0 deletions

View File

@ -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--;