projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dial it down a bit more to not exceed +10 dBm, or 10 mW
[fw/altos]
/
src
/
stmf0
/
ao_gpio.c
diff --git
a/src/stmf0/ao_gpio.c
b/src/stmf0/ao_gpio.c
index 024ff948645525e8e3eb06b774542ff975070db9..a21ce4fa3d0e0c755cc3eef7b41ffe5305b668d7 100644
(file)
--- a/
src/stmf0/ao_gpio.c
+++ b/
src/stmf0/ao_gpio.c
@@
-23,13
+23,13
@@
ao_gpio_suspend(void *arg)
{
struct stm_gpio *port = arg;
if (port == &stm_gpioa)
{
struct stm_gpio *port = arg;
if (port == &stm_gpioa)
- stm_rcc.ahbenr &= ~(1 << STM_RCC_AHBENR_IOPAEN);
+ stm_rcc.ahbenr &= ~(1
UL
<< STM_RCC_AHBENR_IOPAEN);
else if ((port) == &stm_gpiob)
else if ((port) == &stm_gpiob)
- stm_rcc.ahbenr &= ~(1 << STM_RCC_AHBENR_IOPBEN);
+ stm_rcc.ahbenr &= ~(1
UL
<< STM_RCC_AHBENR_IOPBEN);
else if ((port) == &stm_gpioc)
else if ((port) == &stm_gpioc)
- stm_rcc.ahbenr &= ~(1 << STM_RCC_AHBENR_IOPCEN);
+ stm_rcc.ahbenr &= ~(1
UL
<< STM_RCC_AHBENR_IOPCEN);
else if ((port) == &stm_gpiof)
else if ((port) == &stm_gpiof)
- stm_rcc.ahbenr &= ~(1 << STM_RCC_AHBENR_IOPFEN);
+ stm_rcc.ahbenr &= ~(1
UL
<< STM_RCC_AHBENR_IOPFEN);
}
static void
}
static void