We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fae14cc commit 028a819Copy full SHA for 028a819
ports/nrf/common-hal/busio/I2C.c
@@ -79,13 +79,6 @@ void common_hal_busio_i2c_never_reset(busio_i2c_obj_t *self) {
79
}
80
81
82
-#define TWI_TWIM_PIN_CONFIGURE(_pin) nrf_gpio_cfg((_pin), \
83
- NRF_GPIO_PIN_DIR_OUTPUT, \
84
- NRF_GPIO_PIN_INPUT_CONNECT, \
85
- NRF_GPIO_PIN_PULLUP, \
86
- NRF_GPIO_PIN_S0D1, \
87
- NRF_GPIO_PIN_NOSENSE)
88
-
89
static nrfx_err_t _safe_twim_enable(busio_i2c_obj_t *self) {
90
// check to see if bus is in sensible state before enabling twim
91
nrfx_err_t recover_result;
0 commit comments