drivrs/sensors/lis2dh: Clear INT1 at SNIOC_WRITE_INT1THRESHOLD ioctl

This commit is contained in:
Jussi Kivilinna 2018-03-21 07:28:08 -06:00 committed by Gregory Nutt
parent a36c7a779a
commit 02841a7f55

View file

@ -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;