From a6ad4d287dcba6618948dc42ccb4bb1521513698 Mon Sep 17 00:00:00 2001 From: Arghya Biswas Date: Mon, 4 Aug 2025 20:24:10 +0530 Subject: [PATCH] fix reset LED behaviour Signed-off-by: Arghya Biswas --- Script/main.py | 3 +-- config.yaml | 2 +- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Script/main.py b/Script/main.py index db25d65..81c266d 100644 --- a/Script/main.py +++ b/Script/main.py @@ -67,8 +67,6 @@ def gpioInilitization(): gpio.pinMode(RESET_PUSH_SWITCH_PIN, INPUT) - gpio.pinMode(ON_BOARD_LED_PIN, OUTPUT) - gpio.digitalWrite(GPIO_3V3_1_PIN, HIGH) gpio.digitalWrite(GPIO_3V3_2_PIN, HIGH) @@ -276,6 +274,7 @@ def loop(): # If reset button pressed then clean the old stuffs if ResetTrigger: cycleCounter = 0 + gpio.digitalWrite(ON_BOARD_LED_PIN, LOW) setCycleCount(cycleCounter) ResetTrigger = False time.sleep(2) diff --git a/config.yaml b/config.yaml index 6463d39..3fc0bc9 100644 --- a/config.yaml +++ b/config.yaml @@ -1,2 +1,2 @@ -appVersion: 1.7.3.1013 +appVersion: 1.7.4.1014 maxCount : 7500000