From 69139ac2a7e32f0ce457f459881c5013fbbee491 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xose=20P=C3=A9rez?= Date: Mon, 5 Dec 2016 16:52:43 +0100 Subject: [PATCH] Using yield in main loop --- code/src/main.ino | 2 +- code/src/ntp.ino | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/code/src/main.ino b/code/src/main.ino index 8b0ca4b4..4a9e1864 100644 --- a/code/src/main.ino +++ b/code/src/main.ino @@ -199,6 +199,6 @@ void loop() { powerMonitorLoop(); #endif - delay(1); + yield(); } diff --git a/code/src/ntp.ino b/code/src/ntp.ino index a8203523..7b6c158d 100644 --- a/code/src/ntp.ino +++ b/code/src/ntp.ino @@ -1,6 +1,6 @@ /* -RENTALITO +ESPURNA NTP MODULE Copyright (C) 2016 by Xose PĂ©rez