We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 15422b3 + 76ffc49 commit cbc4729Copy full SHA for cbc4729
libraries/mbed/targets/hal/TARGET_NXP/TARGET_LPC11XX_11CXX/gpio_api.c
@@ -24,7 +24,7 @@ uint32_t gpio_set(PinName pin) {
24
unsigned i;
25
int f = 0;
26
27
- for (i = 0; i < sizeof(reserved_pins) / sizeof(int); i ++)
+ for (i = 0; i < sizeof(reserved_pins) / sizeof(PinName); i ++)
28
if (pin == reserved_pins[i]) {
29
f = 1;
30
break;
0 commit comments