mirror of https://github.com/rusefi/rusefi.git
funny games with dash via Lua to override CAN dash profile values #6235
This commit is contained in:
parent
3136cc786b
commit
0078df1988
|
@ -11,6 +11,9 @@
|
||||||
#include "global.h"
|
#include "global.h"
|
||||||
#include "engine_parts.h"
|
#include "engine_parts.h"
|
||||||
#include "engine_state_generated.h"
|
#include "engine_state_generated.h"
|
||||||
|
#if !defined(EFI_BOOTLOADER)
|
||||||
|
#include "lua_hooks.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
class EngineState : public engine_state_s {
|
class EngineState : public engine_state_s {
|
||||||
public:
|
public:
|
||||||
|
@ -86,6 +89,12 @@ public:
|
||||||
|
|
||||||
multispark_state multispark;
|
multispark_state multispark;
|
||||||
|
|
||||||
|
#if !defined(EFI_BOOTLOADER)
|
||||||
|
// todo: techical debt: bootloader should not compile engine.h! at the moment bootloader depends on engine->pin registry not nice
|
||||||
|
// custom values to display on the dash for UI widgets
|
||||||
|
LuaDashOverride luaDashOverride;
|
||||||
|
#endif
|
||||||
|
|
||||||
bool shouldUpdateInjectionTiming = true;
|
bool shouldUpdateInjectionTiming = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue