Skip to content

Commit

Permalink
Add function is missing FAR
Browse files Browse the repository at this point in the history
Signed-off-by: fengxuesong <[email protected]>
  • Loading branch information
fengxuesong committed Aug 11, 2023
1 parent 0102177 commit 8c7d137
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions system/i2c/i2c_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 8c7d137

Please sign in to comment.