altos: Eliminate 'pin' field from GPIO functions
[fw/altos] / src / stmf0 / ao_beep_stm.c
index abcc116c706c2335f86ce5c174fcf63076d1bdef..31af7f4a00ab74d19fc2fa2a54808ba286630b87 100644 (file)
@@ -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);