X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Fapps%2Fjtag%2Fjtag.c;fp=firmware%2Fapps%2Fjtag%2Fjtag.c;h=906dd14e4aad1096a210e192d141c3837d70721f;hp=415f36a368e607ec4a9211f0870f43a1b6819d76;hb=386bb6b2c16f5d729a49e8eb8f42bbfad6a42d10;hpb=d85d45d823dda71280f4ed9083717ec8e5ce28ae diff --git a/firmware/apps/jtag/jtag.c b/firmware/apps/jtag/jtag.c index 415f36a..906dd14 100644 --- a/firmware/apps/jtag/jtag.c +++ b/firmware/apps/jtag/jtag.c @@ -25,10 +25,8 @@ void jtagsetup(){ /************************** JTAG Primitives ****************************/ // these have been turned into functions to save flash space void jtag_tcktock() { - //delay(1); // FIXME: Should never wait this long... CLRTCK; PLEDOUT^=PLEDPIN; - //delay(1); // FIXME: Should never wait this long... SETTCK; PLEDOUT^=PLEDPIN; } @@ -186,7 +184,7 @@ unsigned char jtagtrans8(unsigned char byte){ SAVETCLK; for (bit = 0; bit < bitcount; bit++) { - //* write MOSI on trailing edge of previous clock * + // write MOSI on trailing edge of previous clock * if (word & high) {SETMOSI;} else @@ -197,7 +195,7 @@ unsigned char jtagtrans8(unsigned char byte){ SETTMS;//TMS high on last bit to exit. TCKTOCK; - //* read MISO on trailing edge * + // read MISO on trailing edge * word |= READMISO; }