projects
/
fw
/
altos
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge branch 'master' of git://git.gag.com/fw/altos
[fw/altos]
/
src
/
stm
/
stm32l.h
diff --git
a/src/stm/stm32l.h
b/src/stm/stm32l.h
index 4d665e8beda9fcb55f937d17b3d8809907db1727..3a498a0a06043febab4b3bca22e38e5dc041e019 100644
(file)
--- a/
src/stm/stm32l.h
+++ b/
src/stm/stm32l.h
@@
-167,7
+167,7
@@
stm_gpio_set(struct stm_gpio *gpio, int pin, uint8_t value) {
}
static inline uint8_t
}
static inline uint8_t
-stm_gpio_
iss
et(struct stm_gpio *gpio, int pin) {
+stm_gpio_
g
et(struct stm_gpio *gpio, int pin) {
return (gpio->idr >> pin) & 1;
}
return (gpio->idr >> pin) & 1;
}