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:
parent
c3e5415a5e
commit
c97d6e7f26
@ -366,7 +366,7 @@ void lis2dh12_cfg_disable_event(const lis2dh12_t *dev, uint8_t event, uint8_t li
|
|||||||
{
|
{
|
||||||
uint8_t reg = 0;
|
uint8_t reg = 0;
|
||||||
|
|
||||||
_release(dev);
|
_acquire(dev);
|
||||||
|
|
||||||
/* read current interrupt configuration */
|
/* read current interrupt configuration */
|
||||||
if (line == LIS2DH12_INT1) {
|
if (line == LIS2DH12_INT1) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user