From 0fb1d700e376c74efab18ea5f70a88eabececde1 Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 30 Aug 2011 19:48:47 +0000 Subject: 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 --- apps/system/i2c/i2c_dev.c | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/system/i2c/i2c_dev.c') 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); -- cgit v1.2.3