From: travisutk Date: Sat, 24 Nov 2012 14:17:31 +0000 (+0000) Subject: Added APP number to GoodFETSPI. X-Git-Url: http://git.rot13.org/?p=goodfet;a=commitdiff_plain;h=494cd04e27c3f437f55517c2de3f28b9b778ede4 Added APP number to GoodFETSPI. git-svn-id: https://svn.code.sf.net/p/goodfet/code/trunk@1349 12e2690d-a6be-4b82-a7b7-67c4a43b65c8 --- diff --git a/client/GoodFETSPI.py b/client/GoodFETSPI.py index c303b21..b071d50 100644 --- a/client/GoodFETSPI.py +++ b/client/GoodFETSPI.py @@ -10,6 +10,7 @@ import sys, time, string, cStringIO, struct, glob, os; from GoodFET import GoodFET; class GoodFETSPI(GoodFET): + APP=0x01; def SPIsetup(self): """Move the FET into the SPI application.""" self.writecmd(0x01,0x10,0,self.data); #SPI/SETUP