diff --git a/host/src/app.c b/host/src/app.c index 679c2d24..0302fa23 100644 --- a/host/src/app.c +++ b/host/src/app.c @@ -112,7 +112,7 @@ struct app bool captureStarted; enum AppState state; - enum LGMPTimerState lgmpTimerState; + _Atomic(enum LGMPTimerState) lgmpTimerState; LGTimer * lgmpTimer; LGThread * frameThread; bool threadsStarted;