fixed timer?
All checks were successful
build / build (push) Successful in 4m30s

This commit is contained in:
cheetah 2025-04-07 03:21:59 +02:00
parent 44d6dad477
commit 941d52c7e6

View file

@ -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
{