mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-23 08:15:30 +03:00
Fix IMU mutex lock
This commit is contained in:
parent
af477487fc
commit
3884d9383c
2 changed files with 2 additions and 1 deletions
|
@ -58,7 +58,7 @@ static uint32_t imuDeltaT = 0;
|
|||
static bool imuUpdated = false;
|
||||
#endif
|
||||
|
||||
#define IMU_LOCK pthread_mutex_unlock(&imuUpdateLock)
|
||||
#define IMU_LOCK pthread_mutex_lock(&imuUpdateLock)
|
||||
#define IMU_UNLOCK pthread_mutex_unlock(&imuUpdateLock)
|
||||
|
||||
#else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue