From 400739f816a714734bd01d281f305b6b14c784c6 Mon Sep 17 00:00:00 2001 From: Andrey Date: Thu, 16 May 2024 19:46:05 -0400 Subject: [PATCH] https://github.com/rusefi/rusefi/issues/6525 --- board_configuration.cpp | 8 -------- default_tune.cpp | 8 ++++++++ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/board_configuration.cpp b/board_configuration.cpp index 6e0636e8..d606e372 100644 --- a/board_configuration.cpp +++ b/board_configuration.cpp @@ -1,5 +1,4 @@ #include "pch.h" -#include "livedata_board_extra.h" Gpio getCommsLedPin() { return Gpio::Unassigned; @@ -13,13 +12,6 @@ Gpio getWarningLedPin() { return Gpio::Unassigned; } -extra_s extraGauges; - -template<> -const extra_s* getLiveData(size_t) { - return &extraGauges; -} - // board-specific configuration setup void setBoardDefaultConfiguration() { // engineConfiguration->injectionPins[0] = Gpio::F13; diff --git a/default_tune.cpp b/default_tune.cpp index 906f44aa..7a256628 100644 --- a/default_tune.cpp +++ b/default_tune.cpp @@ -1,4 +1,12 @@ #include "pch.h" +#include "livedata_board_extra.h" + +extra_s extraGauges; + +template<> +const extra_s* getLiveData(size_t) { + return &extraGauges; +} void boardTuneDefaults() { engineConfiguration->displacement = 1.6;