Skip to content

Commit

Permalink
tweak to autocamera
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Tidey committed Oct 24, 2015
1 parent 448c47f commit 5e46ce6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion www/schedule.php
Original file line number Diff line number Diff line change
Expand Up @@ -763,7 +763,8 @@ function mainCLI() {
if (($timenow - $modTime) > $schedulePars[SCHEDULE_AUTOCAMERAINTERVAL]) {
writeLog("autocamera shutdown");
sendCmds('md 0;ru 0');
$lastStatusTime = $timenow + $schedulePars[SCHEDULE_AUTOCAMERAINTERVAL];
//allow a bit of time to ensure it doesn't switch straight back on
$lastStatusTime = $timenow + 5;
} else {
$lastStatusTime = $timenow;
}
Expand Down

0 comments on commit 5e46ce6

Please sign in to comment.