1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00

xtimer/xtimer.c: fix timeout is volatile

timeout is modified from interupt context so must be volatile
This commit is contained in:
JulianHolzwarth 2019-05-29 17:53:09 +02:00
parent 301d88c04a
commit 1fff551d7c

View File

@ -45,7 +45,7 @@
typedef struct {
mutex_t *mutex;
thread_t *thread;
int timeout;
volatile int timeout;
} mutex_thread_t;
static void _callback_unlock_mutex(void* arg)