From 6ac7f0a88c5c72c2355e22bdf07a88ab05eb92d4 Mon Sep 17 00:00:00 2001 From: rusefi Date: Tue, 21 Mar 2017 21:12:51 -0400 Subject: [PATCH] fixed #377 --- firmware/controllers/electronic_throttle.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/firmware/controllers/electronic_throttle.cpp b/firmware/controllers/electronic_throttle.cpp index 95cecfc846..3d5d07abfd 100644 --- a/firmware/controllers/electronic_throttle.cpp +++ b/firmware/controllers/electronic_throttle.cpp @@ -150,10 +150,10 @@ void setDefaultEtbParameters(void) { } void stopETBPins(void) { - unmarkPin(boardConfiguration->etbControlPin1); - unmarkPin(boardConfiguration->etbControlPin2); - unmarkPin(boardConfiguration->etbDirectionPin1); - unmarkPin(boardConfiguration->etbDirectionPin2); + unmarkPin(activeConfiguration.bc.etbControlPin1); + unmarkPin(activeConfiguration.bc.etbControlPin2); + unmarkPin(activeConfiguration.bc.etbDirectionPin1); + unmarkPin(activeConfiguration.bc.etbDirectionPin2); } void startETBPins(void) {