mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
c2c2cc8592
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. |
||
---|---|---|
.. | ||
pio | ||
adc.h | ||
can.h | ||
cpuid.h | ||
dac.h | ||
doc.txt | ||
eeprom.h | ||
flashpage.h | ||
freqm.h | ||
gpio_ll_irq.h | ||
gpio_ll.h | ||
gpio_util.h | ||
gpio.h | ||
hwrng.h | ||
i2c.h | ||
init.h | ||
pio.h | ||
pm.h | ||
ptp.h | ||
pwm.h | ||
qdec.h | ||
rtc_mem.h | ||
rtc.h | ||
rtt.h | ||
spi.h | ||
timer.h | ||
uart.h | ||
usbdev.h | ||
vbat.h | ||
wdt.h |