Skip to content

Commit

Permalink
exp rssi
Browse files Browse the repository at this point in the history
  • Loading branch information
Consti10 committed Aug 8, 2023
1 parent b9ed528 commit 383ef60
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions src/RSSIForWifiCard.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -82,11 +82,6 @@ class RSSIForWifiCard {
RSSIForWifiCard() = default;

void addRSSI(int8_t rssi) {
m_rssi_acc.add_rssi(rssi);
if(m_rssi_acc.get_n_samples()>=10){
wifibroadcast::log::get_default()->debug("{}",m_rssi_acc.get_min_max_avg_readable());
m_rssi_acc.reset();
}
last_rssi=rssi;
if (count_all == 0) {
rssi_min = rssi;
Expand Down

0 comments on commit 383ef60

Please sign in to comment.