From e975131e24cb233caaa472d7ec838df33091a88d Mon Sep 17 00:00:00 2001 From: travisutk Date: Thu, 8 Jul 2010 15:31:42 +0000 Subject: [PATCH] Reading status works. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@668 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- client/GoodFETEM260.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/GoodFETEM260.py b/client/GoodFETEM260.py index 7bc51ac..93d1bcb 100644 --- a/client/GoodFETEM260.py +++ b/client/GoodFETEM260.py @@ -84,7 +84,7 @@ class GoodFETEM260(GoodFETSPI): return self.EM260spistatus(); if status==0x02: return self.EM260spistatus(); - if not status&0xC0: + if not status&0x80 and status&0x40: print "Status misread."; return 0; return status&1; -- 2.20.1