1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2025-12-16 10:03:50 +01:00

drivers/lis2dh12: release instead of acquire

This commit is contained in:
Jan Mohr 2022-07-21 15:51:01 +02:00
parent c3e5415a5e
commit c97d6e7f26

View File

@ -366,7 +366,7 @@ void lis2dh12_cfg_disable_event(const lis2dh12_t *dev, uint8_t event, uint8_t li
{
uint8_t reg = 0;
_release(dev);
_acquire(dev);
/* read current interrupt configuration */
if (line == LIS2DH12_INT1) {