change GPS data default off to on
This commit is contained in:
parent
d5e9e78de5
commit
a7497624b7
@ -171,7 +171,7 @@ Output of sensor and peripheral data is internally switched by a bitmask registe
|
|||||||
|
|
||||||
| Bit | Sensordata | Default
|
| Bit | Sensordata | Default
|
||||||
| --- | ------------- | -------
|
| --- | ------------- | -------
|
||||||
| 0 | GPS | off*
|
| 0 | GPS | on*
|
||||||
| 1 | Beacon alarm | on
|
| 1 | Beacon alarm | on
|
||||||
| 2 | BME280/680 | on
|
| 2 | BME280/680 | on
|
||||||
| 3 | Paxcounter | on
|
| 3 | Paxcounter | on
|
||||||
|
@ -9,9 +9,9 @@ nvs_handle my_handle;
|
|||||||
esp_err_t err;
|
esp_err_t err;
|
||||||
|
|
||||||
#define PAYLOADMASK \
|
#define PAYLOADMASK \
|
||||||
((ALARM_DATA | MEMS_DATA | COUNT_DATA | SENSOR1_DATA | SENSOR2_DATA | \
|
(ALARM_DATA | MEMS_DATA | COUNT_DATA | GPS_DATA | SENSOR1_DATA | \
|
||||||
SENSOR3_DATA) & \
|
SENSOR2_DATA | SENSOR3_DATA) & \
|
||||||
(~BATT_DATA) & (~GPS_DATA))
|
(~BATT_DATA)
|
||||||
|
|
||||||
// populate cfg vars with factory settings
|
// populate cfg vars with factory settings
|
||||||
void defaultConfig() {
|
void defaultConfig() {
|
||||||
|
Loading…
Reference in New Issue
Block a user