未验证 提交 50a42331 编写于 作者: L lgnq 提交者: GitHub

Add RT_SENSOR_VENDOR_MELEXIS in sensor_cmd.c (#5966)

* Add RT_SENSOR_VENDOR_MELEXIS in sensor_cmd.c

print vendor information of Melexis in the function sensor()
上级 3ecfe9c6
......@@ -360,6 +360,9 @@ static void sensor(int argc, char **argv)
case RT_SENSOR_VENDOR_MAXIM:
rt_kprintf("vendor :Maxim Integrated\n");
break;
case RT_SENSOR_VENDOR_MELEXIS:
rt_kprintf("vendor :Melexis\n");
break;
}
rt_kprintf("model :%s\n", info.model);
switch (info.unit)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册