summaryrefslogtreecommitdiff
path: root/src/stm/ao_beep_stm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/stm/ao_beep_stm.c')
-rw-r--r--src/stm/ao_beep_stm.c2
1 files changed, 1 insertions, 1 deletions
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).
*