You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2023/08/11 05:50:44 UTC
[nuttx-apps] branch master updated: Add function is missing FAR
This is an automated email from the ASF dual-hosted git repository.
xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx-apps.git
The following commit(s) were added to refs/heads/master by this push:
new fad26cb3a Add function is missing FAR
fad26cb3a is described below
commit fad26cb3aea9ba472e6b67f315a7efc1291277e2
Author: fengxuesong <fe...@xiaomi.com>
AuthorDate: Fri Aug 11 11:20:47 2023 +0800
Add function is missing FAR
Signed-off-by: fengxuesong <fe...@xiaomi.com>
---
system/i2c/i2c_main.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/system/i2c/i2c_main.c b/system/i2c/i2c_main.c
index 448c57d42..a73245058 100644
--- a/system/i2c/i2c_main.c
+++ b/system/i2c/i2c_main.c
@@ -41,7 +41,8 @@
* Private Function Prototypes
****************************************************************************/
-static int i2ccmd_help(FAR struct i2ctool_s *i2ctool, int argc, char **argv);
+static int i2ccmd_help(FAR struct i2ctool_s *i2ctool,
+ int argc, FAR char **argv);
static int i2ccmd_unrecognized(FAR struct i2ctool_s *i2ctool, int argc,
FAR char **argv);
@@ -96,7 +97,8 @@ const char g_i2cxfrerror[] = "i2ctool: %s: Transfer failed: %d\n";
* Name: i2ccmd_help
****************************************************************************/
-static int i2ccmd_help(FAR struct i2ctool_s *i2ctool, int argc, char **argv)
+static int i2ccmd_help(FAR struct i2ctool_s *i2ctool, int argc,
+ FAR char **argv)
{
const struct cmdmap_s *ptr;