From aefe243620a35a4815f8701324502bd0c22443f2 Mon Sep 17 00:00:00 2001 From: Aaron Culliney Date: Sat, 8 Jul 2017 14:50:39 -1000 Subject: [PATCH] Work around mysterious occasionally failing assert --- src/timing.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/timing.c b/src/timing.c index d873727e..b56ba8f4 100644 --- a/src/timing.c +++ b/src/timing.c @@ -252,7 +252,9 @@ bool timing_shouldAutoAdjustSpeed(void) { static void *cpu_thread(void *dummyptr) { +#ifndef NDEBUG // Spamsung Galaxy Y running Gingerbread triggers this, wTf?! assert(pthread_self() == cpu_thread_id); +#endif LOG("cpu_thread : initialized...");