diff options
Diffstat (limited to 'apps/system/i2c')
-rw-r--r-- | apps/system/i2c/Makefile | 2 | ||||
-rw-r--r-- | apps/system/i2c/i2c_common.c | 2 | ||||
-rw-r--r-- | apps/system/i2c/i2c_dev.c | 2 | ||||
-rw-r--r-- | apps/system/i2c/i2c_main.c | 6 |
4 files changed, 6 insertions, 6 deletions
diff --git a/apps/system/i2c/Makefile b/apps/system/i2c/Makefile index 1ed7a2fae..4cad67ecf 100644 --- a/apps/system/i2c/Makefile +++ b/apps/system/i2c/Makefile @@ -59,7 +59,7 @@ endif endif ROOTDEPPATH = --dep-path . -VPATH = +VPATH = APPNAME = i2c PRIORITY = SCHED_PRIORITY_DEFAULT diff --git a/apps/system/i2c/i2c_common.c b/apps/system/i2c/i2c_common.c index 4af648c7d..aa4868ffe 100644 --- a/apps/system/i2c/i2c_common.c +++ b/apps/system/i2c/i2c_common.c @@ -209,7 +209,7 @@ int arg_hex(FAR char **arg, FAR long *value) { FAR char *string; int ret; - + ret = arg_string(arg, &string); *value = strtol(string, NULL, 16); return ret; diff --git a/apps/system/i2c/i2c_dev.c b/apps/system/i2c/i2c_dev.c index 3d0480a15..a9da1a03f 100644 --- a/apps/system/i2c/i2c_dev.c +++ b/apps/system/i2c/i2c_dev.c @@ -177,7 +177,7 @@ int i2ccmd_dev(FAR struct i2ctool_s *i2ctool, int argc, char **argv) i2ctool_printf(i2ctool, " "); continue; } - + /* Set the I2C address */ I2C_SETADDRESS(dev, addr, 7); diff --git a/apps/system/i2c/i2c_main.c b/apps/system/i2c/i2c_main.c index 0cf6786cb..47e60ec1d 100644 --- a/apps/system/i2c/i2c_main.c +++ b/apps/system/i2c/i2c_main.c @@ -70,7 +70,7 @@ static int i2ccmd_unrecognized(FAR struct i2ctool_s *i2ctool, int argc, char **a /**************************************************************************** * Private Data ****************************************************************************/ - + struct i2ctool_s g_i2ctool; static const struct cmdmap_s g_i2ccmds[] = @@ -379,7 +379,7 @@ int i2c_main(int argc, char *argv[]) { g_i2ctool.freq = CONFIG_I2CTOOL_DEFFREQ; } - + /* Parse process the command line */ i2c_setup(&g_i2ctool); @@ -406,7 +406,7 @@ int i2ctool_printf(FAR struct i2ctool_s *i2ctool, const char *fmt, ...) va_start(ap, fmt); ret = vfprintf(OUTSTREAM(i2ctool), fmt, ap); va_end(ap); - + return ret; } |