Change pin mode to pullup for adafruit/circuitpython#1045

This commit is contained in:
Nick Moore 2019-02-07 09:47:56 +11:00
parent a7c349bc6e
commit b9db977a2d
1 changed files with 1 additions and 1 deletions

View File

@ -71,7 +71,7 @@ void common_hal_rotaryio_incrementalencoder_construct(rotaryio_incrementalencode
nrfx_gpiote_in_config_t cfg = {
.sense = NRF_GPIOTE_POLARITY_TOGGLE,
.pull = NRF_GPIO_PIN_NOPULL,
.pull = NRF_GPIO_PIN_PULLUP,
.is_watcher = false,
.hi_accuracy = true,
.skip_gpio_setup = false