1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 01:09:47 +01:00
RIOT/cpu/sam3
Marian Buschsieweke c2c2cc8592
drivers/periph_gpio: let gpio_read() return bool
Since https://github.com/RIOT-OS/RIOT/pull/20935 gpio_write()
uses a `bool` instead of an `int`. This does the same treatment for
`gpio_read()`.

This does indeed add an instruction to `gpio_read()` implementations.
However, users caring about an instruction more are better served with
`gpio_ll_read()` anyway. And `gpio_read() == 1` is often seen in
newcomer's code, which would now work as expected.
2024-10-23 13:24:09 +02:00
..
include cpu/sam*: fix doxygen grouping warnings 2021-09-11 12:45:15 +02:00
periph drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
cpu.c cpu: call early_init() 2023-01-08 22:26:12 +01:00
doc.txt cpu, sam3: adapt to sam_common 2017-10-09 12:06:35 +02:00
Kconfig *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
Makefile cpu, sam3: adapt to sam_common 2017-10-09 12:06:35 +02:00
Makefile.dep cpu/cortexm_common: Move common modules to Makefile.dep 2020-04-01 09:46:21 +02:00
Makefile.features cpu/sam3: Add Kconfig symbols 2020-07-16 15:35:23 +02:00
Makefile.include cpu/cortexm: move CPU_ARCH/FAM to Makefile.features 2020-02-17 16:02:48 +01:00
vectors.c cpu*: fix doxygen grouping 2018-06-11 19:12:02 +02:00