Skip to content

Commit 74409cb

Browse files
author
Bogdan Marinescu
committed
Re-apply 178f881 on top of the new changes
1 parent f2e1518 commit 74409cb

File tree

1 file changed

+1
-1
lines changed
  • libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KLXX

1 file changed

+1
-1
lines changed

libraries/mbed/targets/hal/TARGET_Freescale/TARGET_KLXX/gpio_api.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ uint32_t gpio_set(PinName pin) {
2222
}
2323

2424
void gpio_init(gpio_t *obj, PinName pin, PinDirection direction) {
25-
if(pin == NC) return;
25+
if(pin == (PinName)NC) return;
2626

2727
obj->pin = pin;
2828
obj->mask = gpio_set(pin);

0 commit comments

Comments
 (0)