summaryrefslogtreecommitdiff
path: root/demos/host/src/main.c
diff options
context:
space:
mode:
authorhathach <[email protected]>2014-03-19 16:50:49 +0700
committerhathach <[email protected]>2014-03-19 16:50:49 +0700
commit61657f6751ce96dd2b0c260729061ac0eb2adab4 (patch)
treeca36ec255a8e7a1e38393cca2e2151bf6112011f /demos/host/src/main.c
parente8138df6a3ffab99fa75ced7d03534d65a2aadaf (diff)
change OSAL_TASK_FUNCTION to adapt with cmsis rtx
Diffstat (limited to 'demos/host/src/main.c')
-rw-r--r--demos/host/src/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/demos/host/src/main.c b/demos/host/src/main.c
index d3bf1032e..32804010c 100644
--- a/demos/host/src/main.c
+++ b/demos/host/src/main.c
@@ -60,7 +60,7 @@
//--------------------------------------------------------------------+
// INTERNAL OBJECT & FUNCTION DECLARATION
//--------------------------------------------------------------------+
-OSAL_TASK_FUNCTION( led_blinking_task ) (void* p_task_para);
+OSAL_TASK_FUNCTION( led_blinking_task, p_task_para);
OSAL_TASK_DEF(led_blinking_task, 128, LED_BLINKING_APP_TASK_PRIO);
void print_greeting(void);
@@ -124,7 +124,7 @@ int main(void)
//--------------------------------------------------------------------+
// BLINKING TASK
//--------------------------------------------------------------------+
-OSAL_TASK_FUNCTION( led_blinking_task ) (void* p_task_para)
+OSAL_TASK_FUNCTION( led_blinking_task, p_task_para)
{
(void) p_task_para; // suppress compiler warnings