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 10b6cb7 commit 283c219
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion monitor.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1774,7 +1774,7 @@ while true; do
rssi_latest=${rssi_latest:--200}

#IS RSSI THE SAME?
rssi_change=$((rssi - rssi_latest))
rssi_change=$((10#$rssi - 10#$rssi_latest))
abs_rssi_change=${rssi_change#-}

#DETERMINE MOTION DIRECTION
Expand Down

0 comments on commit 283c219

Please sign in to comment.