1
0
Fork 0
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:
George Gougoudis 2018-01-21 05:58:24 +02:00
parent af477487fc
commit 3884d9383c
2 changed files with 2 additions and 1 deletions

View file

@ -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