From f8523254d0c4584e1a56d835ab0af9e8a8625c4b Mon Sep 17 00:00:00 2001 From: patacongo Date: Tue, 6 Sep 2011 21:00:48 +0000 Subject: 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 --- apps/system/i2c/i2c_common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/system/i2c/i2c_common.c') 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; -- cgit v1.2.3