[Sensor] Add the prefix corresponding to sensor types

This commit is contained in:
luhuadong 2020-02-20 16:09:52 +08:00
parent 7c2d7c7eb7
commit 26fa5e5fa2
1 changed files with 3 additions and 1 deletions

View File

@ -31,7 +31,9 @@ static char *const sensor_name_str[] =
"tvoc_", /* TVOC Level */ "tvoc_", /* TVOC Level */
"noi_", /* Noise Loudness */ "noi_", /* Noise Loudness */
"step_", /* Step sensor */ "step_", /* Step sensor */
"forc_" /* Force sensor */ "forc_", /* Force sensor */
"dust_", /* Dust sensor */
"eco2_" /* eCO2 sensor */
}; };
/* Sensor interrupt correlation function */ /* Sensor interrupt correlation function */