mbed

Fork of mbed-dev by mbed official

Revision:
176:af195413fb11
Parent:
165:e614a9f1c9e2
Child:
179:79309dc6340a
--- a/targets/TARGET_NORDIC/TARGET_NRF5/gpio_api.c	Mon Oct 02 15:33:19 2017 +0100
+++ b/targets/TARGET_NORDIC/TARGET_NRF5/gpio_api.c	Wed Oct 11 12:45:49 2017 +0100
@@ -151,7 +151,7 @@
                         cfg.pull = NRF_GPIO_PIN_NOPULL;
                     break;
                 }
-                nrf_drv_gpiote_in_init(pin, &cfg, NULL);
+                nrf_gpio_cfg_input(pin,cfg.pull);
             }
         }
         else {