1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/esp8266/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 tree-wide: fix typos in doc and comments 2023-10-16 12:17:48 +02:00
cpuid.c cpu: add esp8266 2018-09-05 02:39:50 +02:00
gpio.c drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
hwrng.c cpu/esp_common: port periph/hwrng to ESP-IDF random API 2022-06-30 11:10:02 +02:00
Makefile cpu/esp8266: changes for RTOS SDK 2019-11-14 13:58:22 +01:00
pm.c cpu/*: realign ENABLE_DEBUG 2020-10-23 00:46:26 +02:00
pwm.c cpu/*: reorder ENABLE_DEBUG after last include 2020-10-23 00:45:55 +02:00
rtt.c cpu/*: realign ENABLE_DEBUG 2020-10-23 00:46:26 +02:00
spi.c cpu/esp8266: allow arbitrary SPI clocks 2024-02-21 23:15:21 +01:00
timer.c cpu/esp8266/periph_timer: allow changing callback or freq 2022-11-24 22:39:49 +01:00