1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/cpu/native/periph
Gilles DOFFE 90f819eee2 cpu/native: return 0 if GPIO is an output in gpio_init
If the GPIO is in an output state, gpio_init() can return 0 without bad
consequences.
-1 was return until now.

Signed-off-by: Gilles DOFFE <g.doffe@gmail.com>
2019-03-11 01:44:22 +01:00
..
cpuid.c doc: fix doxygen grouping of cpu periph drivers 2017-06-26 14:42:11 +02:00
gpio.c cpu/native: return 0 if GPIO is an output in gpio_init 2019-03-11 01:44:22 +01:00
hwrng.c cpu/native: fix doxygen grouping 2018-06-11 19:12:02 +02:00
Makefile cpu: make use of Makefile.periph 2017-11-06 12:01:19 +01:00
pm.c cpu/native: fix doxygen grouping 2018-06-11 19:12:02 +02:00
pwm.c cpu/native: add pwm implementation 2019-03-11 01:44:22 +01:00
qdec.c cpu/native: correct emails in header 2019-03-11 01:44:22 +01:00
rtc.c cpu/native: do normal assignment instead of memcpy 2019-01-10 19:43:43 +01:00
timer.c cpu/native/periph/timer: fix undefined behaviour 2019-01-16 15:16:54 +01:00
uart.c cpu/native: fix doxygen grouping 2018-06-11 19:12:02 +02:00