projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
altos: Fix pretend pad range for TeleLCO
[fw/altos]
/
src
/
stm32f1
/
stm32f1.h
diff --git
a/src/stm32f1/stm32f1.h
b/src/stm32f1/stm32f1.h
index 532cd052c32c72f6edea6337f5bb10b368ac352e..bf96fbbc8549c21382dbea5b9458268dbe8ec515 100644
(file)
--- a/
src/stm32f1/stm32f1.h
+++ b/
src/stm32f1/stm32f1.h
@@
-1187,9
+1187,6
@@
stm_exticr_set(struct stm_gpio *gpio, int pin) {
uint8_t shift = (pin & 3) << 2;
uint8_t val = 0;
- /* Enable AFIO */
- stm_rcc.apb2enr |= (1 << STM_RCC_APB2ENR_AFIOEN);
-
if (gpio == &stm_gpioa)
val = STM_AFIO_EXTICR_PA;
else if (gpio == &stm_gpiob)