only:mre_f4

This commit is contained in:
rusefi 2024-01-01 21:12:28 -05:00
parent c152fd00d8
commit e0a5039e3d
1 changed files with 17 additions and 0 deletions

View File

@ -213,10 +213,27 @@ MRE_INJ_4,
MRE_LS_1,
};
static Gpio M111_OUTPUTS[] = {
MRE_INJ_1, // green
MRE_INJ_2, // white
MRE_INJ_3, // blue
MRE_INJ_4, //
};
int getBoardMetaOutputsCount() {
if (engineConfiguration->engineType == engine_type_e::MRE_M111) {
return efi::size(M111_OUTPUTS);
}
return efi::size(MRE_OUTPUTS);
}
Gpio* getBoardMetaOutputs() {
if (engineConfiguration->engineType == engine_type_e::MRE_M111) {
return M111_OUTPUTS;
}
return MRE_OUTPUTS;
}
int getBoardMetaDcOutputsCount() {
return 1;
}