From 7aca281d5cc241decde4d5a94dd70a0e70143f82 Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Mon, 21 Nov 2016 17:03:15 +0000 Subject: [PATCH] Moved USER_MAIN_CORES to top or par{} - helps when external uses function ptrs etc --- module_usb_audio/main.xc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/module_usb_audio/main.xc b/module_usb_audio/main.xc index 7def523d..ed2aa341 100755 --- a/module_usb_audio/main.xc +++ b/module_usb_audio/main.xc @@ -560,6 +560,8 @@ int main() USER_MAIN_DECLARATIONS par { + USER_MAIN_CORES + on tile[XUD_TILE]: par { @@ -674,12 +676,11 @@ int main() #endif #endif - USER_MAIN_CORES - } #ifdef SU1_ADC_ENABLE xs1_su_adc_service(c_adc); #endif + } return 0; }