From 123ad0de952039aa135fdda80fb83c65a65fd054 Mon Sep 17 00:00:00 2001 From: Jack Humbert Date: Fri, 23 Feb 2018 11:29:30 -0500 Subject: [PATCH] try more stuff --- drivers/arm/twi2c.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/arm/twi2c.c b/drivers/arm/twi2c.c index 2b9209f5d..c1ab3c659 100644 --- a/drivers/arm/twi2c.c +++ b/drivers/arm/twi2c.c @@ -179,13 +179,13 @@ void twi2c_slave_init(void) { I2C_DRIVER.slaveTimeout = MS2ST(100); // Time for complete message #endif - // i2cSlaveConfigure(&I2C_DRIVER, &echoRx, &initialReply); - i2cSlaveConfigure(&I2C_DRIVER, &echoRx, &echoReply); + i2cSlaveConfigure(&I2C_DRIVER, &echoRx, &initialReply); + // i2cSlaveConfigure(&I2C_DRIVER, &echoRx, &echoReply); // Enable match address after everything else set up - i2cMatchAddress(&I2C_DRIVER, slaveI2Caddress/2); + // i2cMatchAddress(&I2C_DRIVER, slaveI2Caddress/2); // i2cMatchAddress(&I2C_DRIVER, myOtherI2Caddress/2); - // i2cMatchAddress(&I2C_DRIVER, 0); /* "all call" */ + i2cMatchAddress(&I2C_DRIVER, 0); /* "all call" */ printf("Slave I2C started\n\r");