some fixes

This commit is contained in:
gemu2015 2019-05-21 06:52:01 +02:00
parent c3fd4b4cab
commit 720eeef0eb
3 changed files with 7 additions and 7 deletions

View File

@ -346,7 +346,7 @@
// #define USE_MGC3130 // Enable MGC3130 Electric Field Effect Sensor (I2C address 0x42) (+2k7 code, 0k3 mem)
// #define USE_MAX44009 // Enable MAX44009 Ambient Light sensor (I2C addresses 0x4A and 0x4B) (+0k8 code)
// #define USE_SCD30 // Enable Sensiron SCd30 CO2 sensor (I2C address 0x61) (+3k3 code)
// #define USE_SPS30 // Enable Sensiron SPS30 particle sensor (I2C address 0x69) (+3k3 code)
#define USE_SPS30 // Enable Sensiron SPS30 particle sensor (I2C address 0x69) (+1.7 code)
#define USE_ADE7953 // Enable ADE7953 Energy monitor as used on Shelly 2.5 (I2C address 0x38) (+1k5)
// #define USE_DISPLAY // Add I2C Display Support (+2k code)

View File

@ -1,5 +1,5 @@
/*
xsns_96_sps30.ino - Sensirion SPS30
xsns_44_sps30.ino - Sensirion SPS30
Copyright (C) 2019 Gerhard Mutz and Theo Arends
@ -252,7 +252,7 @@ bool XSNS_44_cmd(void) {
// clean cmd
sps30_cmd(SPS_CMD_CLEAN);
cp++;
snprintf_P(mqtt_data, sizeof(mqtt_data), S_JSON_SPS30, XSNS_96,"clean_fan");
snprintf_P(mqtt_data, sizeof(mqtt_data), S_JSON_SPS30, XSNS_44,"clean_fan");
} else {
serviced=false;
}