X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstm%2Fao_beep_stm.c;h=37c30e25b1374e3d791a1a131fd7c4686ae24031;hb=f1ae622eff60e05c1f5d8f822a3cf6a85750c6cc;hp=8c0c0ee33ea889f5006995eca28a200a046daa29;hpb=1dcfbb05531767e67df45c2799a2fe533834fb71;p=fw%2Faltos diff --git a/src/stm/ao_beep_stm.c b/src/stm/ao_beep_stm.c index 8c0c0ee3..37c30e25 100644 --- a/src/stm/ao_beep_stm.c +++ b/src/stm/ao_beep_stm.c @@ -41,7 +41,7 @@ ao_beep(uint8_t beep) /* Set prescaler to match cc1111 clocks */ - stm_tim3.psc = STM_APB1 / 750000; + stm_tim3.psc = AO_TIM23467_CLK / 750000; /* 1. Select the counter clock (internal, external, prescaler). *