mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-08 09:32:29 +00:00
Adjust the implementation of gpio_pin_read() to return 0 or 1 rather than 0 or 2^pin. This ensures consistent behaviour with other gpio device drivers, and conforms to the behaviour documented in gpio.h by the previous patch. Change-Id: Ia02aa68105a406f355d16a3f9b0550f948658483 Signed-off-by: Marcus Shawcroft <marcus.shawcroft@arm.com> |
||
---|---|---|
.known-issues | ||
arch | ||
boards | ||
doc | ||
drivers | ||
ext | ||
include | ||
kernel | ||
lib | ||
misc | ||
samples | ||
scripts | ||
subsys | ||
tests | ||
.checkpatch.conf | ||
.gitattributes | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
defaults.tc | ||
Kbuild | ||
Kconfig | ||
Kconfig.zephyr | ||
LICENSE | ||
MAINTAINERS | ||
Makefile | ||
Makefile.inc | ||
Makefile.test | ||
zephyr-env.sh |