altos/telelcotwo: Add idle timeout
[fw/altos] / src / drivers / ao_event.h
index 584a845a3e14d8103ab67720d5fc754865ace603..ea89da23c07cef3598c4159c5792fae4d376cbda 100644 (file)
@@ -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);