projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
altos/telelco: Update backlight/contrast display upon change
[fw/altos]
/
src
/
stmf0
/
ao_beep_stm.c
diff --git
a/src/stmf0/ao_beep_stm.c
b/src/stmf0/ao_beep_stm.c
index 39022da16d4fd36e48300c0573ee8894af7b04ec..751e611aae3a45e5150cce85af5dc387ada5ebbf 100644
(file)
--- a/
src/stmf0/ao_beep_stm.c
+++ b/
src/stmf0/ao_beep_stm.c
@@
-58,7
+58,7
@@
disable(void)
#if BEEPER_TIMER == 1
timer.bdtr = 0;
#endif
#if BEEPER_TIMER == 1
timer.bdtr = 0;
#endif
- stm_rcc_enr &= ~(1 << STM_RCC_TIMER);
+ stm_rcc_enr &= ~(1
UL
<< STM_RCC_TIMER);
/* Disconnect the timer from the pin */
stm_afr_set(BEEPER_PORT, BEEPER_PIN, STM_AFR_NONE);
/* Disconnect the timer from the pin */
stm_afr_set(BEEPER_PORT, BEEPER_PIN, STM_AFR_NONE);
@@
-389,5
+389,5
@@
ao_beep_init(void)
ao_enable_output(BEEPER_PORT, BEEPER_PIN, 0);
/* Leave the timer off until requested */
ao_enable_output(BEEPER_PORT, BEEPER_PIN, 0);
/* Leave the timer off until requested */
- stm_rcc_enr &= ~(1 << STM_RCC_TIMER);
+ stm_rcc_enr &= ~(1
UL
<< STM_RCC_TIMER);
}
}