Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a51dd07
commit bd4becb
Showing
2 changed files
with
2 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
bd4becb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would think that the additional check for the timeout flag wouldn't fix the issue because I would think if we we weren't topping and the ATO timeout was clear then we'd be in this if statement regardless. And also when we get into this function we update WLATO.Timer to millis() so millis()-WLAO.Timer woud be close to 0 and not > the ATO Timeout (in my case 36000000). Just wondering what the thought here was. Also the float switch version inherits the same Timer variable, so wondering what the expected effect of explicitly declaring this. Sorry for the quiz, just curious. Gonna take me a bit to test it well enough so want to understand first.
bd4becb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For some reason, the timer variable wasn't being set correctly and explicitly declaring it seemed to have fixed it.
bd4becb
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This hasn't helped. :(