summaryrefslogtreecommitdiff
path: root/ao_task.c
diff options
context:
space:
mode:
Diffstat (limited to 'ao_task.c')
-rw-r--r--ao_task.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ao_task.c b/ao_task.c
index 043b3df2..878724c5 100644
--- a/ao_task.c
+++ b/ao_task.c
@@ -169,16 +169,16 @@ ao_yield(void) _naked
_endasm;
}
-int
+void
ao_sleep(__xdata void *wchan)
{
__critical {
- ao_cur_task->wchan = wchan;
+ ao_cur_task->wchan = wchan;
}
ao_yield();
}
-int
+void
ao_wakeup(__xdata void *wchan)
{
uint8_t i;