1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/msp430
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/msp430: add periph_gpio_ll 2024-08-02 13:41:37 +02:00
kconfigs *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
ldscripts cpu/msp430: add periph_gpio_ll 2024-08-02 13:41:37 +02:00
periph drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
vendor cpu/msp430: reorganize code 2023-06-19 17:14:57 +02:00
clock.c cpu/msp430: fix warnings 2024-08-02 13:41:37 +02:00
cpu.c cpu/msp430: fix warnings 2024-08-02 13:41:37 +02:00
doc.txt cpu/msp430: reorganize code 2023-06-19 17:14:57 +02:00
irq.c cpu/msp430: reorganize code 2023-06-19 17:14:57 +02:00
Kconfig *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
Makefile cpu/msp430: reorganize code 2023-06-19 17:14:57 +02:00
Makefile.dep cpu/msp430: add periph_gpio_ll 2024-08-02 13:41:37 +02:00
Makefile.features cpu/msp430: implement gpio_ll_irq 2024-08-02 13:41:37 +02:00
Makefile.include cpu/msp430: clean up and fix clock driver 2024-04-19 19:17:18 +02:00
msp430-main.c cpu/msp430: reorganize code 2023-06-19 17:14:57 +02:00
mspgcc-supplement.c cpu/msp430: reorganize code 2023-06-19 17:14:57 +02:00
startup.c cpu/msp430: reorganize code 2023-06-19 17:14:57 +02:00