From 50a42331e6c3aa138bea2ff8ecedf8ad719dc3b7 Mon Sep 17 00:00:00 2001 From: lgnq Date: Thu, 19 May 2022 10:20:39 +0800 Subject: 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() --- components/drivers/sensors/sensor_cmd.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'components') diff --git a/components/drivers/sensors/sensor_cmd.c b/components/drivers/sensors/sensor_cmd.c index a0ae8b700b..1ff2b37362 100755 --- a/components/drivers/sensors/sensor_cmd.c +++ b/components/drivers/sensors/sensor_cmd.c @@ -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) -- cgit v1.3.1