From beda8f4b31c5252fdec02d126c6d877061020695 Mon Sep 17 00:00:00 2001 From: rusefi Date: Sat, 30 Nov 2019 18:42:51 -0500 Subject: [PATCH] making things nicer with dual ETB settings --- firmware/config/boards/microrusefi/board_configuration.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/firmware/config/boards/microrusefi/board_configuration.cpp b/firmware/config/boards/microrusefi/board_configuration.cpp index 8b15734ecf..c23f373100 100644 --- a/firmware/config/boards/microrusefi/board_configuration.cpp +++ b/firmware/config/boards/microrusefi/board_configuration.cpp @@ -93,9 +93,9 @@ static void setupEtb() { // DIS - disables motor (enable low) // PWM pin - boardConfiguration->etb[0].controlPin1 = GPIOC_7; + engineConfiguration->etbIo[0].controlPin1 = GPIOC_7; // DIR pin - boardConfiguration->etb[0].directionPin1 = GPIOA_8; + engineConfiguration->etbIo[0].directionPin1 = GPIOA_8; // set_fsio_output_pin 7 PC8 #if EFI_FSIO