1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/esp8266
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
..
bin cpu/esp8266: Build the SDK bootloader from source. 2022-12-22 12:18:34 +01:00
freertos cpu/*: realign ENABLE_DEBUG 2020-10-23 00:46:26 +02:00
include cpu/esp8266: fix issue found by static tests 2024-04-11 19:19:58 +02:00
ld cpu/esp8266: fix region overflow with '*periph' directory in app path 2023-07-02 12:21:16 +02:00
periph drivers/periph_gpio: let gpio_read() return bool 2024-10-23 13:24:09 +02:00
sdk *Kconfig*: Remove dep-only Kconfig files 2024-03-26 14:54:22 +01:00
vendor *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
doc.txt treewide: fix path to shell related tests in doc 2023-05-13 18:27:58 +02:00
Kconfig *Kconfig*: Modify Kconfig to remove dep model 2024-03-27 10:28:12 +01:00
Makefile cpu/esp8266: move esp_wifi to cpu/esp_common 2020-02-21 09:09:34 +01:00
Makefile.dep cpu/esp8266: RTT is used by the WiFi Interface 2021-12-19 15:56:31 +01:00
Makefile.features *Makefile.features: Remove TEST_KCONFIG includes 2024-03-26 14:53:39 +01:00
Makefile.include cpu/esp: use FLASHFILE_POS for image position in flash 2022-12-31 14:10:57 +01:00
startup.c makefiles, treewide: Remove MCU variable 2024-02-18 20:46:09 +01:00
syscalls.c cpu/esp_esp8266: move missing _rename_r function to esp_common 2022-06-01 13:31:00 +02:00