diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-09-06 21:00:48 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2011-09-06 21:00:48 +0000 |
commit | f8523254d0c4584e1a56d835ab0af9e8a8625c4b (patch) | |
tree | 765ebc200ed841447879eaeb06f8ad02706c5428 /apps/system/i2c/i2c_common.c | |
parent | ca6a50135e04d530ddf75b38f7fff1081ced6de4 (diff) | |
download | nuttx-f8523254d0c4584e1a56d835ab0af9e8a8625c4b.tar.gz nuttx-f8523254d0c4584e1a56d835ab0af9e8a8625c4b.tar.bz2 nuttx-f8523254d0c4584e1a56d835ab0af9e8a8625c4b.zip |
Fix a error the the STM32 I2C timeout logic
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3940 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'apps/system/i2c/i2c_common.c')
-rw-r--r-- | apps/system/i2c/i2c_common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/system/i2c/i2c_common.c b/apps/system/i2c/i2c_common.c index a04f7769a..6d5396346 100644 --- a/apps/system/i2c/i2c_common.c +++ b/apps/system/i2c/i2c_common.c @@ -187,7 +187,7 @@ int arg_decimal(FAR char **arg, FAR long *value) { FAR char *string; int ret; - + ret = arg_string(arg, &string); *value = strtol(string, NULL, 10); return ret; |