diff --git a/board_configuration.cpp b/board_configuration.cpp index 6e0636e..d606e37 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 906f44a..7a25662 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;