Skip to content

Commit

Permalink
Merge pull request #28 from mooninite/step-down-fix
Browse files Browse the repository at this point in the history
temp.sh: Initialize iterator correctly so fans step down
  • Loading branch information
nan0s7 authored Apr 15, 2020
2 parents 42d4a24 + 52fa83e commit 6c1975d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions temp.sh
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,7 @@ loop_cmds() {
if [ "$new_spd" -ne "$cur_spd" ]; then
cur_spd="$new_spd"
set_speed
i=0
tmp="$old_s"; old_s=""
for elem in $tmp; do
if [ "$i" -ne "$fan" ]; then
Expand Down

0 comments on commit 6c1975d

Please sign in to comment.