From 468c4738cefe63a7efba1bb63143e5d4fbf73574 Mon Sep 17 00:00:00 2001
From: Martin Teichmann <martin.teichmann@xfel.eu>
Date: Wed, 13 Dec 2023 13:55:55 +0000
Subject: [PATCH] support reduced current on EL7041

---
 ebpfcat/terminals.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/ebpfcat/terminals.py b/ebpfcat/terminals.py
index 0d594d6..31895f7 100644
--- a/ebpfcat/terminals.py
+++ b/ebpfcat/terminals.py
@@ -122,7 +122,8 @@ class EL7041(EBPFTerminal):
     compatibility = {(2, 461451346), (2, 461455442), (2, 460795986)}
     velocity = ProcessDesc(0x7010, 0x21, "h")
     enable = ProcessDesc(0x7010, 1)
-    status = ProcessDesc(0x6000, 1, "H")
+    reduced_current = ProcessDesc(0x7010, 3)
+    status = ProcessDesc(0x6010, 1, "H")
     low_switch = ProcessDesc(0x6010, 0xc)
     high_switch = ProcessDesc(0x6010, 0xd)
 
-- 
GitLab