From 5d569fd792677e1b4a26545be7b8e51e87d0e2ef Mon Sep 17 00:00:00 2001 From: Verkehrsrot Date: Tue, 16 Jul 2019 14:49:14 +0200 Subject: [PATCH] configmanager.cpp: defaults from paxcounter.conf --- src/configmanager.cpp | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/configmanager.cpp b/src/configmanager.cpp index 936590e5..1287d485 100644 --- a/src/configmanager.cpp +++ b/src/configmanager.cpp @@ -22,14 +22,14 @@ void defaultConfig() { WIFI_CHANNEL_SWITCH_INTERVAL; // wifi channel switch cycle [seconds/100] cfg.blescantime = BLESCANINTERVAL / - 10; // BT channel scan cycle [seconds/100], default 1 (= 10ms) - cfg.blescan = 0; // 0=disabled, 1=enabled - cfg.wifiant = 0; // 0=internal, 1=external (for LoPy/LoPy4) - cfg.vendorfilter = 1; // 0=disabled, 1=enabled - cfg.rgblum = RGBLUMINOSITY; // RGB Led luminosity (0..100%) - cfg.monitormode = 0; // 0=disabled, 1=enabled - cfg.runmode = 0; // 0=normal, 1=update - cfg.payloadmask = 0xFF; // all payload switched on + 10; // BT channel scan cycle [seconds/100], default 1 (= 10ms) + cfg.blescan = BLECOUNTER; // 0=disabled, 1=enabled + cfg.wifiant = 0; // 0=internal, 1=external (for LoPy/LoPy4) + cfg.vendorfilter = VENDORFILTER; // 0=disabled, 1=enabled + cfg.rgblum = RGBLUMINOSITY; // RGB Led luminosity (0..100%) + cfg.monitormode = 0; // 0=disabled, 1=enabled + cfg.runmode = 0; // 0=normal, 1=update + cfg.payloadmask = 0xFF; // all payload switched on cfg.bsecstate[BSEC_MAX_STATE_BLOB_SIZE] = { 0}; // init BSEC state for BME680 sensor