Skip to content

Commit

Permalink
HD
Browse files Browse the repository at this point in the history
  • Loading branch information
rusefillc committed Feb 6, 2024
1 parent 0441d88 commit 7c0f366
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions digital-inputs/firmware/test_logic.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,37 @@ BoardConfig boardConfigs[] = {
},
.wboUnitsCount = 1,
},
{
.boardName = "hd",
.desiredEngineConfig = -1,
.boardIds = { STATIC_BOARD_ID_PROTEUS_HARLEY, STATIC_BOARD_ID_HELLEN_HD, 0 },
.channels = {
{ "TPS1_1", PULLED_DOWN_RANGE(DOWN_7B, UP_7B, 680'000) },
{ "TPS1_2", 1, 0.767938368, /* ideally 0.860549952*/ 0.87 },
{ "PPS1", 1, 0.79 /*0.821830144*/, 0.920940928 },
{ "PPS2", PULLED_DOWN_RANGE(DOWN_11B, UP_11B, 680'000) },
{ "MAP", PULLED_DOWN_RANGE(DOWN_8B, UP_8B, 680'000) },
{ "CLT", 1.0f, CLT_VALUE(HELLEN_R) * ANALOG_L, CLT_VALUE(HELLEN_R) * ANALOG_H },
{ "IAT", 1.0f, IAT_VALUE(HELLEN_R) * ANALOG_L, IAT_VALUE(HELLEN_R) * ANALOG_H },
{ "BATT", HELLEN_VBATT_MULT, 9.0f, 15.0f },

{ nullptr, 0, 0, 0 }, // { "TPS2_1", 1.0f, 0.5f * ANALOG_L, 0.5f * ANALOG_H },
{ nullptr, 0, 0, 0 }, // { "TPS2_2", 1.0f, 0.5f * ANALOG_L, 0.5f * ANALOG_H },
{ nullptr, 0, 0, 0 },//{ "AUXL1", 1.0f, 1.35f * ANALOG_L, 1.35f * ANALOG_H },
{ nullptr, 0, 0, 0 },//{ "AUXL2", 1.0f, 2.23f * ANALOG_L, 2.23f * ANALOG_H },
},
.eventExpected = {/*crank*/true,
false,
/*cam1*/true,
false, false, false,
/*vss*/false},
.buttonExpected = {false, false, false},
.outputNames = {
"Injector 2",
"Injector 1,
},
.wboUnitsCount = 2,
},
{
.boardName = "112-17",
.desiredEngineConfig = -1,
Expand Down

0 comments on commit 7c0f366

Please sign in to comment.