fix(arm03): pin read
1 files changed, 1 insertions(+), 1 deletions(-) M arm03/src/pin.c
M arm03/src/pin.c => arm03/src/pin.c +1 -1
@@ 18,7 18,7 @@ void pin_speed(pin_t *pin, pin_speedmode_t mode) { } uint8_t pin_read(pin_t *pin) { - reg_read_bits_pos(&pin->gpio->IDR, pin->pin, 1); + return reg_read_bits_pos(&pin->gpio->IDR, pin->pin, 1); } uint8_t pin_write(pin_t *pin, uint8_t val) {