Merge branch 'master' of ssh://git.gag.com/scm/git/fw/altos
[fw/altos] / src / drivers / ao_event.h
index d1df6eac4e59d7788721eb4a02814f093eb53dc9..d3d23bd3be92aee61dad8382d000219af7660ef8 100644 (file)
@@ -27,7 +27,7 @@
 struct ao_event {
        uint8_t         type;
        uint8_t         unit;
-       uint16_t        tick;
+       AO_TICK_TYPE    tick;
        int32_t         value;
 };
 
@@ -35,7 +35,7 @@ void
 ao_event_get(struct ao_event *ev);
 
 uint8_t
-ao_event_get_for(struct ao_event *ev, uint16_t timeout);
+ao_event_get_for(struct ao_event *ev, AO_TICK_TYPE timeout);
 
 void
 ao_event_put_isr(uint8_t type, uint8_t unit, int32_t value);