fix #817 make rssi limit usable with libpax
This commit is contained in:
parent
5b28fe03ed
commit
b398c7a981
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user