Skip to content

Commit

Permalink
Update xsns_09_bmp.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
gemu2015 committed Jul 16, 2024
1 parent fc86784 commit 501debc
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions tasmota/Plugins/xsns_09_bmp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@

#include "module.h"
#include "module_defines.h"
#include "../Tasmota/include/i18n.h"

#define BMX_REV 1 << 16 | 4

Expand Down Expand Up @@ -194,8 +195,8 @@ const char HTTP_BMP_T[] PROGMEM = "{s}%s %s{m}%s C{e}";
const char HTTP_BMP_P[] PROGMEM = "{s}%s %s{m}%s hp{e}";
const char HTTP_SNS_AHUM[] PROGMEM = "{s}%s %s{m}%s g/m3{e}";

const char JSON_BMP[] PROGMEM = ",\"%s\":{\"Temperature\":%s,\"Pressure\":%s";
const char JSON_BME[] PROGMEM = ",\"Humidity\":%s,\"AbsHumidity\":%s}";
const char JSON_BMP[] PROGMEM = ",\"%s\":{\"" D_JSON_TEMPERATURE "\":%s,\"" D_JSON_PRESSURE "\":%s";
const char JSON_BME[] PROGMEM = ",\"" D_JSON_HUMIDITY "\":%s,\"" D_JSON_AHUM "\":%s}";
const char JSON_BMPend[] PROGMEM = "}";

int32_t Init_BME() {
Expand Down

0 comments on commit 501debc

Please sign in to comment.