Skip to content

Commit

Permalink
https://github.com/rusefi/rusefi/issues/6525
Browse files Browse the repository at this point in the history
  • Loading branch information
rusefillc committed May 16, 2024
1 parent 3a26435 commit 400739f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 0 additions & 8 deletions board_configuration.cpp
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
#include "pch.h"
#include "livedata_board_extra.h"

Gpio getCommsLedPin() {
return Gpio::Unassigned;
Expand All @@ -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;
Expand Down
8 changes: 8 additions & 0 deletions default_tune.cpp
Original file line number Diff line number Diff line change
@@ -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;
Expand Down

0 comments on commit 400739f

Please sign in to comment.