From 798abfc8e1cba14cd0b56e4dc2275cf8731a8802 Mon Sep 17 00:00:00 2001 From: GitHub gen-configs Action Date: Tue, 26 Sep 2023 05:30:32 +0000 Subject: [PATCH] Auto-generated configs and docs --- .../console/binary_log/log_fields_generated.h | 17 +++++++++++++++++ .../lua/generated/output_lookup_generated.cpp | 15 +++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/firmware/console/binary_log/log_fields_generated.h b/firmware/console/binary_log/log_fields_generated.h index f99820f3f3..8871cae162 100644 --- a/firmware/console/binary_log/log_fields_generated.h +++ b/firmware/console/binary_log/log_fields_generated.h @@ -326,6 +326,23 @@ static constexpr LogField fields[] = { {engine->ignitionState.dwellVoltageCorrection, "Ign: Dwell voltage correction", "", 0}, {engine->ignitionState.luaTimingAdd, "Ign: Lua timing add", "deg", 2, "Timing"}, {engine->ignitionState.luaTimingMult, "Ign: Lua timing mult", "deg", 2, "Timing"}, + {___engine.module()->m_knockLevel, "Knock: Current level", "Volts", 2}, + {___engine.module()->m_knockCyl[0], "Knock: Cyl 1", "dBv", 0}, + {___engine.module()->m_knockCyl[1], "Knock: Cyl 2", "dBv", 0}, + {___engine.module()->m_knockCyl[2], "Knock: Cyl 3", "dBv", 0}, + {___engine.module()->m_knockCyl[3], "Knock: Cyl 4", "dBv", 0}, + {___engine.module()->m_knockCyl[4], "Knock: Cyl 5", "dBv", 0}, + {___engine.module()->m_knockCyl[5], "Knock: Cyl 6", "dBv", 0}, + {___engine.module()->m_knockCyl[6], "Knock: Cyl 7", "dBv", 0}, + {___engine.module()->m_knockCyl[7], "Knock: Cyl 8", "dBv", 0}, + {___engine.module()->m_knockCyl[8], "Knock: Cyl 9", "dBv", 0}, + {___engine.module()->m_knockCyl[9], "Knock: Cyl 10", "dBv", 0}, + {___engine.module()->m_knockCyl[10], "Knock: Cyl 11", "dBv", 0}, + {___engine.module()->m_knockCyl[11], "Knock: Cyl 12", "dBv", 0}, + {___engine.module()->m_knockRetard, "Knock: Retard", "deg", 1}, + {___engine.module()->m_knockThreshold, "Knock: Threshold", "", 0}, + {___engine.module()->m_knockCount, "Knock: Count", "", 0}, + {___engine.module()->m_maximumRetard, "Knock: Max retard", "", 0}, #if EFI_BOOST_CONTROL {engine->boostController.luaTargetAdd, "Boost: Lua target add", "v", 1, "Boost Control"}, #endif diff --git a/firmware/controllers/lua/generated/output_lookup_generated.cpp b/firmware/controllers/lua/generated/output_lookup_generated.cpp index 1155b94aa0..2a4372bc40 100644 --- a/firmware/controllers/lua/generated/output_lookup_generated.cpp +++ b/firmware/controllers/lua/generated/output_lookup_generated.cpp @@ -833,6 +833,21 @@ float getOutputValueByName(const char *name) { // luaIgnitionSkip case -1916613921: return engine->ignitionState.luaIgnitionSkip; +// m_knockLevel + case -1571781441: + return ___engine.module()->m_knockLevel; +// m_knockRetard + case -94443575: + return ___engine.module()->m_knockRetard; +// m_knockThreshold + case -504596140: + return ___engine.module()->m_knockThreshold; +// m_knockCount + case -1582096144: + return ___engine.module()->m_knockCount; +// m_maximumRetard + case 164334513: + return ___engine.module()->m_maximumRetard; // isTpsInvalid #if EFI_BOOST_CONTROL case -575666209: