X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fdrivers%2Fao_event.h;fp=src%2Fdrivers%2Fao_event.h;h=ea89da23c07cef3598c4159c5792fae4d376cbda;hb=70e46100acf597014ce54cf3b642254ce1cba59b;hp=584a845a3e14d8103ab67720d5fc754865ace603;hpb=aef5049cf8311927fada922730f85f31c8ddf177;p=fw%2Faltos diff --git a/src/drivers/ao_event.h b/src/drivers/ao_event.h index 584a845a..ea89da23 100644 --- a/src/drivers/ao_event.h +++ b/src/drivers/ao_event.h @@ -32,6 +32,9 @@ struct ao_event { void ao_event_get(struct ao_event *ev); +uint8_t +ao_event_get_for(struct ao_event *ev, uint16_t timeout); + void ao_event_put_isr(uint8_t type, uint8_t unit, int32_t value);