drivrs/sensors/lis2dh: Clear INT1 at SNIOC_WRITE_INT1THRESHOLD ioctl
This commit is contained in:
parent
a36c7a779a
commit
02841a7f55
@ -596,7 +596,7 @@ static int lis2dh_ioctl(FAR struct file *filep, int cmd, unsigned long arg)
|
||||
ret = -EIO;
|
||||
}
|
||||
|
||||
lis2dh_clear_interrupts(priv, LIS2DH_INT2);
|
||||
lis2dh_clear_interrupts(priv, LIS2DH_INT1);
|
||||
}
|
||||
break;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user