mirror of https://github.com/ARMmbed/mbed-os.git
Merge pull request #5207 from nvlsianpu/fix_DigitalIn_use_gpiote_nrf5x
Fix: DigitalIn of nRF5x was allocating GPIOTE channelpull/5163/merge
commit
8a3abbc857
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue