mirror of
https://github.com/gunner47/GyverLamp.git
synced 2025-08-07 09:00:30 +03:00
Update time.ino
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
void timeTick() {
|
||||
if (ESP_MODE == 1) {
|
||||
timeClient.update();
|
||||
if (ESP_MODE == 1) {
|
||||
if (timeTimer.isReady()) {
|
||||
timeClient.update();
|
||||
byte thisDay = timeClient.getDay();
|
||||
if (thisDay == 0) thisDay = 7; // воскресенье это 0
|
||||
thisDay--;
|
||||
|
Reference in New Issue
Block a user