From b398c7a981c2a9ef441073bc3a0bdbf24a875b51 Mon Sep 17 00:00:00 2001 From: cyberman54 Date: Tue, 20 Jul 2021 13:56:11 +0200 Subject: [PATCH] fix #817 make rssi limit usable with libpax --- src/rcommand.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rcommand.cpp b/src/rcommand.cpp index ca01f990..2f747958 100644 --- a/src/rcommand.cpp +++ b/src/rcommand.cpp @@ -60,6 +60,7 @@ void set_rssi(uint8_t val[]) { libpax_config_t current_config; libpax_get_current_config(¤t_config); current_config.wifi_rssi_threshold = cfg.rssilimit; + current_config.ble_rssi_threshold = cfg.rssilimit; libpax_update_config(¤t_config); init_libpax(); #endif