X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fdrivers%2Fao_event.h;h=d1c69d81b2761d86106200af90c63f7f31ca6b12;hb=debian;hp=d1df6eac4e59d7788721eb4a02814f093eb53dc9;hpb=b91f67005709cb7f65e0a461b49b5cb0952cb391;p=fw%2Faltos diff --git a/src/drivers/ao_event.h b/src/drivers/ao_event.h index d1df6eac..d3d23bd3 100644 --- a/src/drivers/ao_event.h +++ b/src/drivers/ao_event.h @@ -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);