From de98a357232e78ec56bdf80705cf6f2ffaddd924 Mon Sep 17 00:00:00 2001 From: travisutk Date: Wed, 6 Oct 2010 18:33:09 +0000 Subject: [PATCH] Fixed GoodFETSPI by adding optional third argument to peek8(). git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@744 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- client/GoodFETSPI.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/GoodFETSPI.py b/client/GoodFETSPI.py index 5875810..6c8f504 100644 --- a/client/GoodFETSPI.py +++ b/client/GoodFETSPI.py @@ -34,7 +34,7 @@ class GoodFETSPI25C(GoodFETSPI): READ=0x03; WRITE=0x02; - def peek8(self,adr): + def peek8(self,adr,memory="vn"): """Read a byte from the given address.""" data=self.SPItrans([self.READ,(adr>>8)&0xFF,adr&0xFF,0x00]); return ord(data[3]); -- 2.20.1