From ab87c16d0355e1fb3fbf2efbc99e17b0e78318ad Mon Sep 17 00:00:00 2001
From: Jan Grewe <jan@faked.org>
Date: Fri, 3 May 2019 01:26:59 +0200
Subject: [PATCH] ... but do switch LED to On if waiting and being stopped

---
 OpenWatchWinder.ino | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/OpenWatchWinder.ino b/OpenWatchWinder.ino
index 655799d..2e625b7 100644
--- a/OpenWatchWinder.ino
+++ b/OpenWatchWinder.ino
@@ -245,9 +245,11 @@ void handleSwEvent(AceButton *button, uint8_t eventType, uint8_t buttonState)
       Serial.println(">> LongPress: Stop Winding");
       Stop = true;
       Continue = false;
-      if (WState != W_PAUSE)
+      pwr_led.Reset();
+      if (WState == W_PAUSE)
       {
-        pwr_led.Reset();
+        pwr_led.On();
+      }else{
         pwr_led.Blink(100, 500).Forever();
       }
       break;
-- 
GitLab