X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Fgoodfet.c;h=9fb9ec9f997ef23f76fa396a29e0236b84573e90;hp=97b40c23f1ed8465610cd47554ea068d4ae985c8;hb=33c548994df07e43f25464b7d3f24642e9142a99;hpb=a2c8cdf4174097b1045f64c8c03673cd0b2a6ebc diff --git a/firmware/goodfet.c b/firmware/goodfet.c index 97b40c2..9fb9ec9 100644 --- a/firmware/goodfet.c +++ b/firmware/goodfet.c @@ -15,7 +15,10 @@ //! Initialize registers and all that jazz. void init(){ + #ifdef DAC12IR int i; + #endif + WDTCTL = WDTPW + WDTHOLD; // Stop watchdog timer //LED out and on. @@ -93,7 +96,9 @@ void handle(unsigned char app, ejtaghandle(app,verb,len); break; case JTAG430: //Also JTAG430X, JTAG430X2 + //Revert this when X2 support returns. jtag430x2handle(app,verb,len); + //jtag430handle(app,verb,len); break; case SMARTCARD: smartcardhandle(app,verb,len);