1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/gd32v
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 drivers/periph_gpio_ll: change API to access GPIO ports 2024-08-02 09:55:24 +02:00
periph drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
clock.c cpu/gd32v: allow reconfig PLL multiplier in clock config 2023-04-18 06:20:14 +02:00
cpu.c cpu/gd32v: Allow configuration of SWJ_CFG 2024-01-19 23:17:35 +01:00
doc.txt cpu/gd32v: Initial include of the GD32VF103 device 2021-08-24 14:30:23 +02:00
Kconfig *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
Makefile cpu/gd32v: Initial include of the GD32VF103 device 2021-08-24 14:30:23 +02:00
Makefile.default cpu/gdv32: add pm_layered support 2023-01-24 00:52:02 +01:00
Makefile.dep cpu/gd32v: add periph_usbdev support 2023-04-16 23:24:23 +02:00
Makefile.features drivers/periph_gpio_ll_irq: make support for both edges optional 2024-08-02 13:41:36 +02:00
Makefile.include cpu/gd32v: don't set FW_ROM_LEN to ROM_LEN 2024-02-28 13:49:12 +01:00