Fix the bug of i2c_dev

Signed-off-by: fengxuesong <fengxuesong@xiaomi.com>
This commit is contained in:
fengxuesong 2023-06-26 16:14:59 +08:00 committed by Xiang Xiao
parent c6ee7baca7
commit 3f556c8df4

View File

@ -39,7 +39,7 @@
* Name: i2ccmd_dev
****************************************************************************/
int i2ccmd_dev(FAR struct i2ctool_s *i2ctool, int argc, char **argv)
int i2ccmd_dev(FAR struct i2ctool_s *i2ctool, int argc, FAR char **argv)
{
struct i2c_msg_s msg;
FAR char *ptr;