diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-09-17 15:04:24 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-09-17 15:04:24 +0000 |
commit | fd34c2fa9d9d8faff68f5023e27246ac35954c70 (patch) | |
tree | db7ab8de0e6333ecfb0c7ed4d49ea2d5abb18d5b /apps/system | |
parent | e7f67f93e598f240c9e3928936d63172ec4a1b0a (diff) | |
download | nuttx-fd34c2fa9d9d8faff68f5023e27246ac35954c70.tar.gz nuttx-fd34c2fa9d9d8faff68f5023e27246ac35954c70.tar.bz2 nuttx-fd34c2fa9d9d8faff68f5023e27246ac35954c70.zip |
STM32 I2C driver will now operated in a polled, non-interrupting mode if so configured
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3960 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/system')
-rw-r--r-- | apps/system/i2c/i2c_dev.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/system/i2c/i2c_dev.c b/apps/system/i2c/i2c_dev.c index 2d9946be0..d5c65f236 100644 --- a/apps/system/i2c/i2c_dev.c +++ b/apps/system/i2c/i2c_dev.c @@ -201,7 +201,7 @@ int cmd_dev(FAR struct i2ctool_s *i2ctool, int argc, char **argv) else { msg[1].buffer = (uint8_t*)&u.data16; - msg[2].length = 2; + msg[1].length = 2; } if (i2ctool->start) |