We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent beb40a6 commit 49b04f4Copy full SHA for 49b04f4
1 file changed
ports/stm32f4/common-hal/microcontroller/Pin.c
@@ -83,7 +83,7 @@ bool common_hal_mcu_pin_is_free(const mcu_pin_obj_t *pin) {
83
return pin_number_is_free(pin->number);
84
}
85
86
-void* pin_port(uint8_t pin) {
+GPIO_TypeDef * pin_port(uint8_t pin) {
87
return ports[gpio_port_num(pin)];
88
89
0 commit comments