progress towards pin restart

This commit is contained in:
rusefi 2017-04-05 19:48:40 -04:00
parent 3994fa77a0
commit fedb12f2f3
1 changed files with 2 additions and 0 deletions

View File

@ -180,6 +180,8 @@ digital_input_s * initWaveAnalyzerDriver(const char *msg, brain_pin_e brainPin)
ICUDriver *driver = getInputCaptureDriver(msg, brainPin);
digital_input_s *hw = registeredIcus.add();
hw->widthListeners.clear();
hw->periodListeners.clear();
hw->brainPin = brainPin;
hw->driver = driver;
turnOnCapturePin(msg, brainPin);