Skip to content

Commit 028a819

Browse files
authored
Remove unneeded #define from I2C.c
1 parent fae14cc commit 028a819

File tree

1 file changed

+0
-7
lines changed
  • ports/nrf/common-hal/busio

1 file changed

+0
-7
lines changed

ports/nrf/common-hal/busio/I2C.c

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -79,13 +79,6 @@ void common_hal_busio_i2c_never_reset(busio_i2c_obj_t *self) {
7979
}
8080
}
8181

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-
8982
static nrfx_err_t _safe_twim_enable(busio_i2c_obj_t *self) {
9083
// check to see if bus is in sensible state before enabling twim
9184
nrfx_err_t recover_result;

0 commit comments

Comments
 (0)