parent
cefea28539
commit
aeb41f3e70
1 changed files with 3 additions and 0 deletions
|
|
@ -182,6 +182,9 @@ void TwoWire::onIRQ() {
|
|||
if (_onReceiveCallback && _buffLen) {
|
||||
_onReceiveCallback(_buffLen);
|
||||
}
|
||||
_buffLen = 0;
|
||||
_buffOff = 0;
|
||||
_slaveStartDet = false;
|
||||
_i2c->hw->clr_restart_det;
|
||||
}
|
||||
// STOP_DET
|
||||
|
|
|
|||
Loading…
Reference in a new issue