Skip to content

Commit

Permalink
https://github.com/rusefi/rusefi-hardware/issues/253
Browse files Browse the repository at this point in the history
  • Loading branch information
rusefillc committed Oct 30, 2023
1 parent 8653788 commit a04154c
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -208,3 +208,7 @@ int getBoardMetaOutputsCount() {
Gpio* getBoardMetaOutputs() {
return OUTPUTS;
}

int getBoardMetaDcOutputsCount() {
return 1;
}
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,10 @@ int getBoardMetaLowSideOutputsCount() {
return getBoardMetaOutputsCount() - 1;
}

int getBoardMetaDcOutputsCount() {
return 2;
}

Gpio* getBoardMetaOutputs() {
return OUTPUTS;
}
4 changes: 4 additions & 0 deletions firmware/config/boards/proteus/board_configuration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,10 @@ int getBoardMetaOutputsCount() {
return efi::size(PROTEUS_OUTPUTS);
}

int getBoardMetaDcOutputsCount() {
return 1;
}

Gpio* getBoardMetaOutputs() {
if (engineConfiguration->engineType == engine_type_e::MAVERICK_X3) {
return PROTEUS_CANAM_OUTPUTS;
Expand Down

0 comments on commit a04154c

Please sign in to comment.