1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/lm4f120/periph
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
..
adc.c cpu/lm4f120/periph: adc_sample() now returns int32_t 2020-01-10 14:13:14 +01:00
gpio.c drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
Makefile cpu: make use of Makefile.periph 2017-11-06 12:01:19 +01:00
spi.c cpu/periph_spi: update implementations to new API 2021-09-01 21:38:40 +02:00
timer.c drivers/periph/timer: Use uint32_t for frequency 2020-10-30 22:02:12 +01:00
uart.c cpu/lm4f120: Remove dev_enums dependency 2020-09-09 10:25:37 +02:00