]> Gitweb @ Texas Instruments - Open Source Git Repositories - git.TI.com/gitweb - keystone-rtos/netapi.git/blobdiff - ti/runtime/netapi/test/net_test_router.c
Fix compilation issues
[keystone-rtos/netapi.git] / ti / runtime / netapi / test / net_test_router.c
index 4e03d484cb44aaed41df896532252ec286af1b23..5ce5f002fed2e371ffa6588057854738beda48c6 100755 (executable)
@@ -362,9 +362,9 @@ void slow_path_thread(uint32_t index)
         netapi_Log("sched create failed for core%d\n",thread_num); 
         exit(1);
     }
-      scheduler[thread_num]->config.yield = FALSE;
-      scheduler[thread_num]->config.pollGarbageQ = TRUE;
-      scheduler[thread_num]->config.pollCtrlQ = TRUE;
+      scheduler[thread_num]->config.yield = NETAPI_FALSE;
+      scheduler[thread_num]->config.pollGarbageQ = NETAPI_TRUE;
+      scheduler[thread_num]->config.pollCtrlQ = NETAPI_TRUE;
             /*********************************************/
     /**************Entry point into scheduler ****/
     /*********************************************/
@@ -426,9 +426,9 @@ void fast_path_thread(uint32_t index)
     /*********************************************/
     /**************Entry point into scheduler ****/
     /*********************************************/
-    scheduler[thread_num]->config.yield = FALSE;
-     scheduler[thread_num]->config.pollGarbageQ = FALSE;
-     scheduler[thread_num]->config.pollCtrlQ = FALSE;
+    scheduler[thread_num]->config.yield = NETAPI_FALSE;
+     scheduler[thread_num]->config.pollGarbageQ = NETAPI_FALSE;
+     scheduler[thread_num]->config.pollCtrlQ = NETAPI_FALSE;
      //sleep(100000);
     netapi_schedRun(scheduler[thread_num], &err);
     netapi_Log("fast_path_thread: core %d worker thread done\n",thread_num);