Fix IMU mutex lock
This commit is contained in:
parent
af477487fc
commit
3884d9383c
|
@ -40,3 +40,4 @@ stm32.mak
|
|||
|
||||
.vagrant
|
||||
ubuntu*.log
|
||||
/.vs
|
||||
|
|
|
@ -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…
Reference in New Issue