CAN side of automated testing #4630

This commit is contained in:
rusefillc 2022-09-30 00:08:26 -04:00
parent f703c58622
commit 4f81151974
1 changed files with 2 additions and 0 deletions

View File

@ -15,7 +15,9 @@ static void setPin(const CANRxFrame& frame, int value) {
if (index >= getBoardMetaOutputsCount())
return;
Gpio pin = getBoardMetaOutputs()[index];
#if EFI_GPIO_HARDWARE && EFI_PROD_CODE
palWritePad(getHwPort("can_write", pin), getHwPin("can_write", pin), value);
#endif // EFI_GPIO_HARDWARE && EFI_PROD_CODE
}
void processCanBenchTest(const CANRxFrame& frame) {