X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fkernel%2Fao_notask.h;h=f698a4ee2426014985a32e45e526afbf39556980;hb=HEAD;hp=ce622b630e7d92f834fa78883749f178faa2992a;hpb=c6e57291d91f1f6c4de5c54a5cfd3eef66d9f830;p=fw%2Faltos diff --git a/src/kernel/ao_notask.h b/src/kernel/ao_notask.h index ce622b63..f698a4ee 100644 --- a/src/kernel/ao_notask.h +++ b/src/kernel/ao_notask.h @@ -19,10 +19,16 @@ #ifndef _AO_NOTASK_H_ #define _AO_NOTASK_H_ +void +ao_delay_until(AO_TICK_TYPE target); + uint8_t ao_sleep(void *wchan); void ao_wakeup(void *wchan); +static inline void ao_mutex_get(uint8_t *m) {(void) m;} +static inline void ao_mutex_put(uint8_t *m) {(void) m;} + #endif /* _AO_NOTASK_H_ */