From b694b725664f0f9850215bca90afcb174bb838c8 Mon Sep 17 00:00:00 2001 From: Christoph Wiechert Date: Tue, 26 Nov 2019 13:26:26 +0100 Subject: [PATCH] Simplify sleep --- examples/HM-WDS40-TH-I/HM-WDS40-TH-I.ino | 4 ---- 1 file changed, 4 deletions(-) diff --git a/examples/HM-WDS40-TH-I/HM-WDS40-TH-I.ino b/examples/HM-WDS40-TH-I/HM-WDS40-TH-I.ino index 21c7c661..3f32e4f0 100644 --- a/examples/HM-WDS40-TH-I/HM-WDS40-TH-I.ino +++ b/examples/HM-WDS40-TH-I/HM-WDS40-TH-I.ino @@ -147,10 +147,6 @@ void loop() { // this call will never return hal.activity.sleepForever(hal); } - #ifdef USE_RTC hal.sleep<>(); - #else - hal.activity.savePower>(hal); - #endif } }