summaryrefslogtreecommitdiff
path: root/apps/system/i2c/i2c_dev.c
diff options
context:
space:
mode:
authorpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-08-30 19:48:47 +0000
committerpatacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3>2011-08-30 19:48:47 +0000
commit0fb1d700e376c74efab18ea5f70a88eabececde1 (patch)
tree496df0236d9a88fabc2f7c5e5a2e0d685e99598d /apps/system/i2c/i2c_dev.c
parent7b01904121be6cb88d28005a77da9c1815593925 (diff)
downloadnuttx-0fb1d700e376c74efab18ea5f70a88eabececde1.tar.gz
nuttx-0fb1d700e376c74efab18ea5f70a88eabececde1.tar.bz2
nuttx-0fb1d700e376c74efab18ea5f70a88eabececde1.zip
I2C tool no longer hangs on dev command
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3930 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/system/i2c/i2c_dev.c')
-rw-r--r--apps/system/i2c/i2c_dev.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/system/i2c/i2c_dev.c b/apps/system/i2c/i2c_dev.c
index a8340f0d8..2d9946be0 100644
--- a/apps/system/i2c/i2c_dev.c
+++ b/apps/system/i2c/i2c_dev.c
@@ -227,6 +227,7 @@ int cmd_dev(FAR struct i2ctool_s *i2ctool, int argc, char **argv)
}
}
i2ctool_printf(i2ctool, "\n");
+ i2ctool_flush(i2ctool);
}
(void)up_i2cuninitialize(dev);