configmanager payloadmask default fixed

This commit is contained in:
Verkehrsrot 2019-09-01 00:56:42 +02:00
parent 8385beb19b
commit cc2cfd3c13

View File

@ -9,8 +9,8 @@ nvs_handle my_handle;
esp_err_t err; esp_err_t err;
#define PAYLOADMASK \ #define PAYLOADMASK \
(GPS_DATA | ALARM_DATA | MEMS_DATA | COUNT_DATA | SENSOR1_DATA | \ ((GPS_DATA | ALARM_DATA | MEMS_DATA | COUNT_DATA | SENSOR1_DATA | \
SENSOR2_DATA | SENSOR3_DATA & ~BATT_DATA) SENSOR2_DATA | SENSOR3_DATA) & ~BATT_DATA)
// populate cfg vars with factory settings // populate cfg vars with factory settings
void defaultConfig() { void defaultConfig() {