diff options
author | couriersud <couriersud@arcor.de> | 2015-01-09 03:03:44 +0100 |
---|---|---|
committer | couriersud <couriersud@arcor.de> | 2015-01-09 03:03:44 +0100 |
commit | ac27a0991ce6c5a4fe97680ad08cd5a97b8b2259 (patch) | |
tree | cf4043219e5875be986920d04d44936e46874336 | |
parent | 14e96b6f9ddd13afad902d79baf9402e46ee36fd (diff) |
Fix bug in work_osd.c causing discrete sound to crash. [Tafoid, Haze,
Couriersud]
-rw-r--r-- | src/osd/modules/sync/work_osd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/osd/modules/sync/work_osd.c b/src/osd/modules/sync/work_osd.c index 992ee1509e3..52b0c15bf9e 100644 --- a/src/osd/modules/sync/work_osd.c +++ b/src/osd/modules/sync/work_osd.c @@ -76,7 +76,7 @@ static void spin_while(const volatile _PtrType * volatile ptr, const _PtrType va int spin = 10000; while (--spin) { - if ((*ptr == val) ^ invert) + if ((*ptr != val) ^ invert) return; } } while (((*ptr == val) ^ invert) && osd_ticks() < stopspin); |