1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 01:09:47 +01:00
RIOT/cpu/lpc1768
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: include IDLE in PM_NUM_MODES 2022-04-06 12:29:25 +02:00
ldscripts cpu/lpc1768: make use of cortexm.ld 2022-09-23 15:55:21 +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
Kconfig *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
Makefile cpu: build cortexm vectors.c without LTO 2016-08-29 13:30:17 +02:00
Makefile.default cpu: make pm_layered a DEFAULT_MODULE 2021-01-27 13:21:20 +01:00
Makefile.dep cpu: make pm_layered a DEFAULT_MODULE 2021-01-27 13:21:20 +01:00
Makefile.features *Makefile.features: Remove TEST_KCONFIG includes 2024-03-26 14:53:39 +01:00
Makefile.include cpu/lpc1768: make use of cortexm.ld 2022-09-23 15:55:21 +02:00
system.c boards/lpc1768: move vendor conf code to CPU level 2021-01-08 21:47:10 +01:00
vectors.c cpu/cortexm: Remove leftover _estack declarations 2017-11-10 15:38:14 +01:00