Refactor to use new protocol module and sipo.
[bertos.git] / bertos / kern / rtask.c
index 0aaaf47f0cfc060989dee79f0bfa36e25fd4e4d7..cfe35ce6a38219c83f35cc79a1cd54b5ce0f72eb 100644 (file)
@@ -75,7 +75,7 @@ struct RTask
        void *user_data;
 };
 
-DECLARE_POOL_STATIC(rtask_pool, RTask, CONFIG_RTASK_POOL_SIZE);
+DEFINE_POOL_STATIC(rtask_pool, RTask, CONFIG_RTASK_POOL_SIZE);
 static Process *process = NULL;
 static List rt_list;
 static Semaphore rtask_sem;
@@ -86,7 +86,8 @@ static Semaphore rtask_sem;
                sem_release(&rtask_sem); \
        } while (0)
 
-#warning "Remove synctimer_poll and use a list directly"
+
+//TODO: "Remove synctimer_poll and use a list directly"
 static NORETURN void rtask_proc(void)
 {
        while (1)