Skip to content

Commit

Permalink
fix rssi limit default value
Browse files Browse the repository at this point in the history
  • Loading branch information
cyberman54 committed Jul 20, 2021
1 parent 80b8881 commit 903ffe2
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -303,6 +303,7 @@ void setup() {
// configure BLE sniffing
configuration.blecounter = cfg.blescan;
configuration.blescantime = cfg.blescantime;
configuration.ble_rssi_threshold = cfg.rssilimit;
ESP_LOGI(TAG, "BLESCAN: %s", cfg.blescan ? "on" : "off");

int config_update = libpax_update_config(&configuration);
Expand Down

0 comments on commit 903ffe2

Please sign in to comment.