From 4d7b055f86072e85ecbaf947782a2a08e5649d08 Mon Sep 17 00:00:00 2001 From: rusefillc Date: Fri, 30 Sep 2022 11:47:04 -0400 Subject: [PATCH] need Proteus QC --- firmware/config/engines/custom_engine.cpp | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/firmware/config/engines/custom_engine.cpp b/firmware/config/engines/custom_engine.cpp index 6d3de7d45d..be36caa6e1 100644 --- a/firmware/config/engines/custom_engine.cpp +++ b/firmware/config/engines/custom_engine.cpp @@ -603,17 +603,22 @@ void proteusBoardTest() { engineConfiguration->injectionPins[1] = PROTEUS_LS_2; engineConfiguration->injectionPins[2] = PROTEUS_LS_3; engineConfiguration->injectionPins[3] = PROTEUS_LS_4; - engineConfiguration->injectionPins[4] = Gpio::G12;// "Lowside 5" - engineConfiguration->injectionPins[5] = Gpio::G13;// "Lowside 6" - engineConfiguration->injectionPins[6] = Gpio::B5;// "Lowside 9" - engineConfiguration->injectionPins[7] = Gpio::B4;// "Lowside 8" - engineConfiguration->injectionPins[8] = Gpio::B7;// "Lowside 11" + engineConfiguration->injectionPins[4] = PROTEUS_LS_5; + engineConfiguration->injectionPins[5] = PROTEUS_LS_6; + engineConfiguration->injectionPins[6] = PROTEUS_LS_9; + engineConfiguration->injectionPins[7] = PROTEUS_LS_8; + engineConfiguration->injectionPins[8] = PROTEUS_LS_11; engineConfiguration->injectionPins[9] = PROTEUS_LS_10; - engineConfiguration->injectionPins[10] = Gpio::B8;// "Lowside 12" - engineConfiguration->injectionPins[11] = Gpio::B9;// "Lowside 13" # pin 10/black35 - + engineConfiguration->injectionPins[10] = PROTEUS_LS_12; + engineConfiguration->injectionPins[11] = PROTEUS_LS_13; + engineConfiguration->luaOutputPins[0] = PROTEUS_LS_7; + engineConfiguration->luaOutputPins[1] = PROTEUS_LS_14; + engineConfiguration->luaOutputPins[2] = PROTEUS_LS_15; + engineConfiguration->luaOutputPins[3] = PROTEUS_LS_16; + engineConfiguration->luaOutputPins[4] = PROTEUS_HS_2; + engineConfiguration->luaOutputPins[5] = PROTEUS_HS_4; engineConfiguration->ignitionPins[0] = PROTEUS_IGN_1; engineConfiguration->ignitionPins[1] = PROTEUS_IGN_2;