X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstm%2Fao_beep_stm.c;h=12d2b0b6439eed06dacc5085d2c81a9f205be883;hb=a6baf04bae3fe6a6b3da2f456419732ffeb4d056;hp=2746d7f8e60b558e48056f2b3653daf237a6be2b;hpb=0686a7b8aec524d81bda4c572549a3a068ce0eed;p=fw%2Faltos diff --git a/src/stm/ao_beep_stm.c b/src/stm/ao_beep_stm.c index 2746d7f8..12d2b0b6 100644 --- a/src/stm/ao_beep_stm.c +++ b/src/stm/ao_beep_stm.c @@ -17,6 +17,7 @@ */ #include "ao.h" +#include "ao_beep.h" #if BEEPER_TIMER == 2 #define stm_beeper stm_tim2 @@ -147,7 +148,7 @@ ao_beep(uint8_t beep) } void -ao_beep_for(uint8_t beep, uint16_t ticks) +ao_beep_for(uint8_t beep, AO_TICK_TYPE ticks) { ao_beep(beep); ao_delay(ticks);