Skip to content

Commit

Permalink
Change to pm_2_5_ug_m3, pm_10_ug_m3, BREAKING change to Bresser-7in1 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
bz177 committed Jun 20, 2024
1 parent 321f231 commit 7cdfab6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/devices/bresser_7in1.c
Original file line number Diff line number Diff line change
Expand Up @@ -239,8 +239,8 @@ static int bresser_7in1_decode(r_device *decoder, bitbuffer_t *bitbuffer)
"channel", "", DATA_INT, chan,
"startup", "Startup", DATA_COND, !nstartup, DATA_INT, !nstartup,
"battery_ok", "Battery", DATA_INT, !battery_low,
"pm_2_5_ug_m3", "PM2.5 Mass Concentration", DATA_COND, !pm_2_5_init, DATA_INT, pm_2_5,
"pm_10_ug_m3", "PM10 Mass Concentraton", DATA_COND, !pm_10_init, DATA_INT, pm_10,
"pm2_5_ug_m3", "PM2.5 Mass Concentration", DATA_COND, !pm_2_5_init, DATA_INT, pm_2_5,
"pm10_0_ug_m3", "PM10 Mass Concentraton", DATA_COND, !pm_10_init, DATA_INT, pm_10,
"mic", "Integrity", DATA_STRING, "CRC",
NULL);
/* clang-format on */
Expand Down Expand Up @@ -312,8 +312,8 @@ static char const *const output_fields[] = {
"light_klx", // TODO: remove this
"light_lux",
"uv",
"pm_2_5_ug_m3",
"pm_10_ug_m3",
"pm2_5_ug_m3",
"pm10_0_ug_m3",
"battery_ok",
"co2_ppm",
"hcho_ppb",
Expand Down

0 comments on commit 7cdfab6

Please sign in to comment.