fix duplicate 'let on' declaration in update_pump()
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
1 parent
f9a579529b
commit
0c175b4a8e
1 file changed
+1
-1
@@ -183,7 +183,7 @@ function update_pump(temp, max, time) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// compute the current switch state according to the schedule
|
// compute the current switch state according to the schedule
|
||||||
let on = false;
|
on = false;
|
||||||
if (schedule.length === 1) {
|
if (schedule.length === 1) {
|
||||||
on = true;
|
on = true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user