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:
commit
2b56495db0
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user