diff --git a/motion controller code/src/i2c_slave.c b/motion controller code/src/i2c_slave.c index d06c92c..960e194 100644 --- a/motion controller code/src/i2c_slave.c +++ b/motion controller code/src/i2c_slave.c @@ -70,9 +70,6 @@ void i2c_slave_init(void) gpio_set_function(I2C_SLAVE_SDA_PIN, GPIO_FUNC_I2C); gpio_set_function(I2C_SLAVE_SCL_PIN, GPIO_FUNC_I2C); - gpio_pull_up(I2C_SLAVE_SDA_PIN); - gpio_pull_up(I2C_SLAVE_SCL_PIN); - // Note: The I2C slave does clock stretching implicitly after a RD_REQ, while the Tx FIFO is empty. // There is also an option to enable clock stretching while the Rx FIFO is full, but we leave it // disabled since the Rx FIFO should never fill up (unless i2c_slave.handler() is way too slow).