Skip to content

Commit

Permalink
implements #3885
Browse files Browse the repository at this point in the history
  • Loading branch information
caveman99 committed May 16, 2024
1 parent c04c589 commit d95e3ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/modules/esp32/PaxcounterModule.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ int32_t PaxcounterModule::runOnce()
configuration.wificounter = 1;
configuration.wifi_channel_map = WIFI_CHANNEL_ALL;
configuration.wifi_channel_switch_interval = 50;
configuration.wifi_rssi_threshold = -80;
configuration.ble_rssi_threshold = -80;
configuration.wifi_rssi_threshold = Default::getConfiguredOrDefault(moduleConfig.paxcounter.wifi_threshold, -80);
configuration.ble_rssi_threshold = Default::getConfiguredOrDefault(moduleConfig.paxcounter.ble_threshold, -80);
libpax_update_config(&configuration);

// internal processing initialization
Expand Down

0 comments on commit d95e3ac

Please sign in to comment.