We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2bcd88d commit 7a817a3Copy full SHA for 7a817a3
drivers/ninaw10/machine_pin_nina.c
@@ -68,6 +68,7 @@ bool machine_pin_ext_get(machine_pin_obj_t *self) {
68
if (self->id >= 0 && self->id < MICROPY_HW_PIN_EXT_COUNT) {
69
uint8_t buf[] = {pin_map[self->id]};
70
nina_ioctl(NINA_GPIO_READ, sizeof(buf), buf, 0);
71
+ value = buf[0];
72
}
73
return value;
74
0 commit comments