diff options
Diffstat (limited to 'apps/system/i2c/i2c_common.c')
-rw-r--r-- | apps/system/i2c/i2c_common.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/apps/system/i2c/i2c_common.c b/apps/system/i2c/i2c_common.c index 6d5396346..e7b27693a 100644 --- a/apps/system/i2c/i2c_common.c +++ b/apps/system/i2c/i2c_common.c @@ -118,6 +118,14 @@ int common_args(FAR struct i2ctool_s *i2ctool, FAR char **arg) i2ctool->freq = value; return ret; + case 'i': + i2ctool->autoincr = true; + return 1; + + case 'j': + i2ctool->autoincr = false; + return 1; + case 'n': i2ctool->start = false; return 1; |