From a1be8f233c6eea3838419a5fcbfee3f31ee2e945 Mon Sep 17 00:00:00 2001 From: Hector Martin Date: Tue, 18 Apr 2023 22:09:07 +0900 Subject: [PATCH] m1n1.fw.smc: Add read32f() Signed-off-by: Hector Martin --- proxyclient/m1n1/fw/smc.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/proxyclient/m1n1/fw/smc.py b/proxyclient/m1n1/fw/smc.py index 204501cd..22fbebee 100644 --- a/proxyclient/m1n1/fw/smc.py +++ b/proxyclient/m1n1/fw/smc.py @@ -153,6 +153,9 @@ class SMCEndpoint(ASCBaseEndpoint): def read32b(self, key): return struct.unpack(">I", self.read(key, 4))[0] + def read32f(self, key): + return struct.unpack("