This commit is contained in:
parent
44d6dad477
commit
941d52c7e6
1 changed files with 2 additions and 2 deletions
|
@ -19,9 +19,9 @@ void DWDWXClient::begin(float latitude, float longitude, int schedule)
|
|||
}
|
||||
void DWDWXClient::handleTimers() {
|
||||
if (ezt::minuteChanged()) {
|
||||
bool needFetch;
|
||||
bool needFetch = false;
|
||||
//
|
||||
if (ezt::minute() == 0) {
|
||||
if (ezt::minute(ezt::now()) == 0) {
|
||||
switch (this->schedule) {
|
||||
case 0: // 300,600,900,1200,1500,1800,2100,2400
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue