From 5c3a80af007f13cabf5e8f4c558bf574536ac650 Mon Sep 17 00:00:00 2001
From: kruger <kruger@astron.nl>
Date: Wed, 3 Jul 2024 15:29:43 +0200
Subject: [PATCH] LEDs off when RCU off

---
 pypcc/config/RECVTR_HB.yaml | 3 ++-
 pypcc/config/RECVTR_LB.yaml | 3 ++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/pypcc/config/RECVTR_HB.yaml b/pypcc/config/RECVTR_HB.yaml
index 2667d3f..0e8a758 100644
--- a/pypcc/config/RECVTR_HB.yaml
+++ b/pypcc/config/RECVTR_HB.yaml
@@ -948,7 +948,8 @@ methods:
      - RCU_PWR_ANALOG_on: 0 #Switch power off
      - RCU_PWR_DIGITAL_on: 0 #Switch power off
      - IO2.GPIO1: 0
-     - IO2.GPIO2: 0
+#     - IO2.GPIO2: 0
+     - IO2.CONF2: 0xC0 #make LEDs input = off
      - IO3.GPIO1: 0
      - IO3.GPIO2: 0
      - IO1.GPIO1: 0
diff --git a/pypcc/config/RECVTR_LB.yaml b/pypcc/config/RECVTR_LB.yaml
index 2345f7c..a5dc5aa 100644
--- a/pypcc/config/RECVTR_LB.yaml
+++ b/pypcc/config/RECVTR_LB.yaml
@@ -840,7 +840,8 @@ methods:
      - RCU_PWR_ANALOG_on: 0 #Switch power off
      - RCU_PWR_DIGITAL_on: 0 #Switch power off
      - IO2.GPIO1: 0
-     - IO2.GPIO2: 0
+#     - IO2.GPIO2: 0
+     - IO2.CONF2: 0xC0 #make LEDs input = off
      - IO3.GPIO1: 0
      - IO3.GPIO2: 0
      - IO1.GPIO1: 0
-- 
GitLab