Skip to content

Commit

Permalink
https://github.com/rusefi/rusefi/issues/6586
Browse files Browse the repository at this point in the history
  • Loading branch information
rusefillc committed Jun 6, 2024
1 parent 9d86c79 commit 22c7094
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
1 change: 1 addition & 0 deletions board_config.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
int boardSpecificCalibration1
6 changes: 6 additions & 0 deletions board_configuration.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
#include "pch.h"
#include "livedata_board_extra.h"

extern extra_s extraGauges;

Gpio getCommsLedPin() {
return Gpio::Unassigned;
Expand Down Expand Up @@ -27,6 +30,9 @@ void setBoardDefaultConfiguration() {
// engineConfiguration->iat.adcChannel = EFI_ADC_2;


config->boardSpecificCalibration1 = 1500;
extraGauges.extraCustomGauge = 2;

// 5.6k high side/10k low side = 1.56 ratio divider
// engineConfiguration->analogInputDividerCoefficient = 1.56f;

Expand Down
1 change: 1 addition & 0 deletions extra.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
struct_no_prefix extra_s
int extraField
int extraCustomGauge
uint8_t[92 iterate] unusedAtTheExtraEnd;;"",1, 0, 0, 0, 0
end_struct

0 comments on commit 22c7094

Please sign in to comment.