From 0025266dc5b55b311be87864fa12f88cb3bcb016 Mon Sep 17 00:00:00 2001
From: Martin Teichmann <martin.teichmann@xfel.eu>
Date: Mon, 29 Jan 2024 09:55:43 +0000
Subject: [PATCH] fix eeprom reading script

uses some internal marked stuff, forgot about the details
---
 ebpfcat/scripts.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ebpfcat/scripts.py b/ebpfcat/scripts.py
index 0dd6d50..20a66c3 100644
--- a/ebpfcat/scripts.py
+++ b/ebpfcat/scripts.py
@@ -136,7 +136,7 @@ async def eeprom():
     await t.initialize(-args.terminal, 7)
 
     if args.read or args.check is not None:
-        r, = unpack("<4xI", await t.eeprom_read_one(0xc))
+        r, = unpack("<4xI", await t._eeprom_read_one(0xc))
         if args.check is not None:
             c = encode(args.check)
             print(f"{r:8X} {c:8X} {r == c}")
-- 
GitLab