From 158d79335c8e9d25806981a09bb1e6beb80762fc Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Wed, 2 Aug 2023 12:43:04 +0100 Subject: [PATCH] Sync mode related build fix --- lib_xua/src/core/clocking/apppll.xc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib_xua/src/core/clocking/apppll.xc b/lib_xua/src/core/clocking/apppll.xc index 9d79e585..4e2141b3 100644 --- a/lib_xua/src/core/clocking/apppll.xc +++ b/lib_xua/src/core/clocking/apppll.xc @@ -292,7 +292,7 @@ int SoftPllUpdate(tileref tile, unsigned short mclk_pt, unsigned short mclk_pt_l #endif void XUA_SoftPll(tileref tile, server interface SoftPll_if i_softPll, chanend c_update) { -#if (XUA_SYNCMODE == XUA_SYNCMODE_SYNC) +#if (XUA_SYNCMODE != XUA_SYNCMODE_ASYNC) unsigned ds_out; timer tmr; int time; @@ -304,7 +304,6 @@ void XUA_SoftPll(tileref tile, server interface SoftPll_if i_softPll, chanend c_ int running = 0; int firstUpdate = 1; - while(1) { select