summaryrefslogtreecommitdiff
path: root/include/_exports.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/_exports.h')
-rw-r--r--include/_exports.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/_exports.h b/include/_exports.h
index 2b8ec3d..a0fbf2a 100644
--- a/include/_exports.h
+++ b/include/_exports.h
@@ -15,7 +15,7 @@ EXPORT_FUNC(do_reset)
EXPORT_FUNC(getenv)
EXPORT_FUNC(setenv)
EXPORT_FUNC(simple_strtoul)
-#if (CONFIG_COMMANDS & CFG_CMD_I2C)
+#if defined(CONFIG_CMD_I2C)
EXPORT_FUNC(i2c_write)
EXPORT_FUNC(i2c_read)
-#endif /* CFG_CMD_I2C */
+#endif