diff options
Diffstat (limited to 'apps/system/i2c')
-rw-r--r-- | apps/system/i2c/i2c_main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/system/i2c/i2c_main.c b/apps/system/i2c/i2c_main.c index 47e60ec1d..136ccfc04 100644 --- a/apps/system/i2c/i2c_main.c +++ b/apps/system/i2c/i2c_main.c @@ -351,7 +351,11 @@ static void i2c_teardown(FAR struct i2ctool_s *i2ctool) * Name: i2c_main ****************************************************************************/ +#ifdef CONFIG_BUILD_KERNEL +int main(int argc, FAR char **argv) +#else int i2c_main(int argc, char *argv[]) +#endif { /* Verify settings */ |