summaryrefslogtreecommitdiff
path: root/drivers/tsi108_i2c.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/tsi108_i2c.c')
-rw-r--r--drivers/tsi108_i2c.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/tsi108_i2c.c b/drivers/tsi108_i2c.c
index eb52cb6..2c90eed 100644
--- a/drivers/tsi108_i2c.c
+++ b/drivers/tsi108_i2c.c
@@ -28,7 +28,7 @@
#ifdef CONFIG_TSI108_I2C
#include <tsi108.h>
-#if (CONFIG_COMMANDS & CFG_CMD_I2C)
+#if (CONFIG_COMMANDS & CFG_CMD_I2C) || defined(CONFIG_CMD_I2C)
#define I2C_DELAY 100000
#undef DEBUG_I2C