Merge pull request #5207 from nvlsianpu/fix_DigitalIn_use_gpiote_nrf5x

Fix: DigitalIn of nRF5x was allocating GPIOTE channel
pull/5163/merge
Jimmy Brisson 2017-10-02 10:39:46 -05:00 committed by GitHub
commit 8a3abbc857
1 changed files with 1 additions and 1 deletions

View File

@ -151,7 +151,7 @@ static void gpio_apply_config(uint8_t pin)
cfg.pull = NRF_GPIO_PIN_NOPULL;
break;
}
nrf_drv_gpiote_in_init(pin, &cfg, NULL);
nrf_gpio_cfg_input(pin,cfg.pull);
}
}
else {