diff options
Diffstat (limited to 'include/exports.h')
-rw-r--r-- | include/exports.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/exports.h b/include/exports.h index 8f7f617..704b133 100644 --- a/include/exports.h +++ b/include/exports.h @@ -23,10 +23,10 @@ void do_reset (void); unsigned long simple_strtoul(const char *cp,char **endp,unsigned int base); char *getenv (char *name); void setenv (char *varname, char *varvalue); -#if (CONFIG_COMMANDS & CFG_CMD_I2C) +#if defined(CONFIG_CMD_I2C) int i2c_write (uchar, uint, int , uchar* , int); int i2c_read (uchar, uint, int , uchar* , int); -#endif /* CFG_CMD_I2C */ +#endif void app_startup(char **); |