From b2dab47b93819c6fdf933881cecb7c1b83aa868f Mon Sep 17 00:00:00 2001
From: Martin Teichmann <martin.teichmann@xfel.eu>
Date: Tue, 27 Feb 2024 17:12:17 +0000
Subject: [PATCH] an EL5042 output signed values

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

diff --git a/ebpfcat/terminals.py b/ebpfcat/terminals.py
index b30dec3..789d087 100644
--- a/ebpfcat/terminals.py
+++ b/ebpfcat/terminals.py
@@ -130,7 +130,7 @@ class EK1814(EBPFTerminal):
 class EL5042(EBPFTerminal):
     compatibility = {(2, 330444882)}
     class Channel(Struct):
-        position = ProcessDesc(0x6000, 0x11)
+        position = ProcessDesc(0x6000, 0x11, 'q')
         warning = ProcessDesc(0x6000, 1)
         error = ProcessDesc(0x6000, 2)
         status = ProcessDesc(0x6000, 1, "H")
-- 
GitLab