Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
forgenator committed Jan 29, 2024
1 parent 7a1ce5b commit 0598b37
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion monitor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,8 @@ connectable_present_devices () {
do scan_result=$(hcitool rssi "$known_addr" 2>&1); \
scan_result=${scan_result//[^0-9]/}; \
scan_result=${scan_result:-99}; \
[[ "$scan_result" == "0" ]] && scan_result=99; \
# https://github.com/andrewjfreyer/monitor/pull/362
# [[ "$scan_result" == "0" ]] && scan_result=99; \
counter=$((counter+1)); \
avg_total=$((avg_total + scan_result )); \
sleep 0.5; \
Expand Down

0 comments on commit 0598b37

Please sign in to comment.