1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

Merge pull request #18353 from jan-mo/fix/20220721__drivers_lis2dh2_release_bug

drivers/lis2dh12: release instead of acquire
This commit is contained in:
benpicco 2022-07-21 22:00:08 +02:00 committed by GitHub
commit 2b56495db0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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) {