projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Autotuner is ready for action\!
[goodfet]
/
client
/
GoodFETSPI.py
diff --git
a/client/GoodFETSPI.py
b/client/GoodFETSPI.py
index
5875810
..
6c8f504
100644
(file)
--- a/
client/GoodFETSPI.py
+++ b/
client/GoodFETSPI.py
@@
-34,7
+34,7
@@
class GoodFETSPI25C(GoodFETSPI):
READ=0x03;
WRITE=0x02;
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]);
"""Read a byte from the given address."""
data=self.SPItrans([self.READ,(adr>>8)&0xFF,adr&0xFF,0x00]);
return ord(data[3]);