缩进由“TAB键”改用为“空格”
This commit is contained in:
parent
e7ed764254
commit
a38e7768ac
|
@ -36,7 +36,7 @@ static char *const sensor_name_str[] =
|
|||
"dust_", /* Dust sensor */
|
||||
"eco2_", /* eCO2 sensor */
|
||||
"gnss_", /* GPS/GNSS sensor */
|
||||
"tof_" /* TOF sensor */
|
||||
"tof_" /* TOF sensor */
|
||||
};
|
||||
|
||||
/* Sensor interrupt correlation function */
|
||||
|
|
|
@ -50,7 +50,7 @@ static void sensor_show_data(rt_size_t num, rt_sensor_t sensor, struct rt_sensor
|
|||
LOG_I("num:%3d, light:%5d lux, timestamp:%5d", num, sensor_data->data.light, sensor_data->timestamp);
|
||||
break;
|
||||
case RT_SENSOR_CLASS_PROXIMITY:
|
||||
case RT_SENSOR_CLASS_TOF:
|
||||
case RT_SENSOR_CLASS_TOF:
|
||||
LOG_I("num:%3d, distance:%5d, timestamp:%5d", num, sensor_data->data.proximity, sensor_data->timestamp);
|
||||
break;
|
||||
case RT_SENSOR_CLASS_HR:
|
||||
|
|
Loading…
Reference in New Issue