progress towards pin restart
This commit is contained in:
parent
3994fa77a0
commit
fedb12f2f3
|
@ -180,6 +180,8 @@ digital_input_s * initWaveAnalyzerDriver(const char *msg, brain_pin_e brainPin)
|
||||||
ICUDriver *driver = getInputCaptureDriver(msg, brainPin);
|
ICUDriver *driver = getInputCaptureDriver(msg, brainPin);
|
||||||
|
|
||||||
digital_input_s *hw = registeredIcus.add();
|
digital_input_s *hw = registeredIcus.add();
|
||||||
|
hw->widthListeners.clear();
|
||||||
|
hw->periodListeners.clear();
|
||||||
hw->brainPin = brainPin;
|
hw->brainPin = brainPin;
|
||||||
hw->driver = driver;
|
hw->driver = driver;
|
||||||
turnOnCapturePin(msg, brainPin);
|
turnOnCapturePin(msg, brainPin);
|
||||||
|
|
Loading…
Reference in New Issue