better pin stop?
This commit is contained in:
parent
0215c2c33f
commit
b54f0d3bdb
|
@ -213,6 +213,8 @@ void stopWaveAnalyzerDriver(const char *msg, brain_pin_e brainPin) {
|
|||
memcpy(®isteredIcus.elements[i], ®isteredIcus.elements[regSize - 1],
|
||||
sizeof(digital_input_s));
|
||||
registeredIcus.size--;
|
||||
icuDisableNotificationsI(driver);
|
||||
icuStop(driver);
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue