fix rssi limit default value

This commit is contained in:
cyberman54 2021-07-20 19:14:51 +02:00
parent 80b8881936
commit 903ffe2759

View File

@ -303,6 +303,7 @@ void setup() {
// configure BLE sniffing // configure BLE sniffing
configuration.blecounter = cfg.blescan; configuration.blecounter = cfg.blescan;
configuration.blescantime = cfg.blescantime; configuration.blescantime = cfg.blescantime;
configuration.ble_rssi_threshold = cfg.rssilimit;
ESP_LOGI(TAG, "BLESCAN: %s", cfg.blescan ? "on" : "off"); ESP_LOGI(TAG, "BLESCAN: %s", cfg.blescan ? "on" : "off");
int config_update = libpax_update_config(&configuration); int config_update = libpax_update_config(&configuration);