added rcmd 0x18 for switching off/on ENS

This commit is contained in:
Chrisotph Schultz 2020-10-05 12:58:05 +02:00
parent 0e2a4e6893
commit d3bf77d1e7
2 changed files with 2 additions and 3 deletions

View File

@ -84,7 +84,6 @@ typedef struct __attribute__((packed)) {
uint8_t payloadmask; // bitswitches for payload data
uint8_t enscount; // 0=disabled 1= enabled
char version[10]; // Firmware version
#ifdef HAS_BME680
uint8_t bsecstate[BSEC_MAX_STATE_BLOB_SIZE + 1]; // BSEC state for BME680 sensor

View File

@ -54,7 +54,7 @@ static void defaultConfig(configData_t *myconfig) {
myconfig->monitormode = 0; // 0=disabled, 1=enabled
myconfig->payloadmask = PAYLOADMASK; // all payload switched on
myconfig->enscount =0; // 0= disabled, 1 = enabled
memcpy(myconfig->version, version, 10); // Firmware version [exactly 10 chars]
#ifdef HAS_BME680
// initial BSEC state for BME680 sensor