projects
/
goodfet
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added fast packet sniffing option -x. doubles RX speed but could easily result in...
[goodfet]
/
client
/
GoodFETMCPCAN.py
diff --git
a/client/GoodFETMCPCAN.py
b/client/GoodFETMCPCAN.py
index
3b4a63a
..
4c805ed
100644
(file)
--- a/
client/GoodFETMCPCAN.py
+++ b/
client/GoodFETMCPCAN.py
@@
-200,6
+200,9
@@
class GoodFETMCPCAN(GoodFETSPI):
return data[1:len(data)];
+ def fastrxpacket(self):
+ return self.readrxbuffer(0);
+
def rxpacket(self):
"""Reads the next incoming packet from either buffer.
Returns None immediately if no packet is waiting."""