X-Git-Url: http://git.rot13.org/?a=blobdiff_plain;f=firmware%2Fapps%2Fjtag%2Fjtag.c;h=6ef9315a65a9ab670f5dabcfb854dd3eb99f9bdb;hb=eddb0eb08f187dc156a6cb51878104df67d97436;hp=cf9199d90fbca16c6ced460f7cb9fd2aa352fa59;hpb=ce0bba3cfbf4844bdce1f6984af24d1f78c347f1;p=goodfet diff --git a/firmware/apps/jtag/jtag.c b/firmware/apps/jtag/jtag.c index cf9199d..6ef9315 100644 --- a/firmware/apps/jtag/jtag.c +++ b/firmware/apps/jtag/jtag.c @@ -1,10 +1,6 @@ /*! \file jtag.c \author Travis Goodspeed - - This is an implementation of the low-level JTAG functions - for the GoodFET project at http://goodfet.sf.net/ - - See the license file for details of proper use. + \brief Low-level JTAG */ @@ -63,7 +59,7 @@ unsigned long jtagtransn(unsigned long word, unsigned int bitcount){ unsigned int bit; //0x8000 - unsigned long high; + unsigned long high=0x8000; if(bitcount==20) high=0x80000; @@ -210,7 +206,7 @@ unsigned char jtag_ir_shift8(unsigned char in){ //! Handles a monitor command. void jtaghandle(unsigned char app, unsigned char verb, - unsigned char len){ + unsigned long len){ switch(verb){ //START handled by specific JTAG case STOP: