altos/telelcotwo: Add idle timeout
[fw/altos] / src / drivers / ao_event.h
index ed9a743329a49dc2cda65fa3b55b38b8fb225f9a..ea89da23c07cef3598c4159c5792fae4d376cbda 100644 (file)
@@ -29,9 +29,12 @@ struct ao_event {
        int32_t         value;
 };
 
-uint8_t
+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);