added rcmd 0x18 for switching off/on ENS
This commit is contained in:
parent
0e2a4e6893
commit
d3bf77d1e7
@ -84,8 +84,7 @@ 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
|
||||
#endif
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user