better pin stop?

This commit is contained in:
rusefi 2017-05-05 21:50:22 -04:00
parent 0215c2c33f
commit b54f0d3bdb
1 changed files with 2 additions and 0 deletions

View File

@ -213,6 +213,8 @@ void stopWaveAnalyzerDriver(const char *msg, brain_pin_e brainPin) {
memcpy(&registeredIcus.elements[i], &registeredIcus.elements[regSize - 1],
sizeof(digital_input_s));
registeredIcus.size--;
icuDisableNotificationsI(driver);
icuStop(driver);
return;
}
}