X-Git-Url: https://git.gag.com/?p=fw%2Faltos;a=blobdiff_plain;f=src%2Fstmf0%2Fao_beep_stm.c;h=31af7f4a00ab74d19fc2fa2a54808ba286630b87;hp=abcc116c706c2335f86ce5c174fcf63076d1bdef;hb=cdaa0d7b272505c49017f409b7c0b8e3240608f0;hpb=f7ca88282466c271bad5e25e804729580fe83c47 diff --git a/src/stmf0/ao_beep_stm.c b/src/stmf0/ao_beep_stm.c index abcc116c..31af7f4a 100644 --- a/src/stmf0/ao_beep_stm.c +++ b/src/stmf0/ao_beep_stm.c @@ -386,7 +386,7 @@ ao_beep_for(uint8_t beep, uint16_t ticks) void ao_beep_init(void) { - ao_enable_output(BEEPER_PORT, BEEPER_PIN, BEEPER, 0); + ao_enable_output(BEEPER_PORT, BEEPER_PIN, 0); /* Leave the timer off until requested */ stm_rcc_enr &= ~(1 << STM_RCC_TIMER);