From e6c750bf60a90dc3701107941789496eeec417a1 Mon Sep 17 00:00:00 2001 From: rusEfi Date: Sat, 17 Sep 2016 13:02:39 -0400 Subject: [PATCH] auto-sync --- firmware/hw_layer/trigger_input.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/firmware/hw_layer/trigger_input.cpp b/firmware/hw_layer/trigger_input.cpp index 8d8897f17b..ad7514073d 100644 --- a/firmware/hw_layer/trigger_input.cpp +++ b/firmware/hw_layer/trigger_input.cpp @@ -150,6 +150,9 @@ void stopTriggerInputPins(void) { turnOffTriggerInputPin(activeConfiguration.bc.triggerInputPins[i]); } } + if (engineConfiguration->camInput != activeConfiguration.camInput) { + turnOffTriggerInputPin(activeConfiguration.camInput); + } } void applyNewTriggerInputPins(void) {