X-Git-Url: http://git.rot13.org//?p=goodfet;a=blobdiff_plain;f=firmware%2Fapps%2Fglitch%2Fglitch.c;fp=firmware%2Fapps%2Fglitch%2Fglitch.c;h=0e5ddb2e14d688f58ecc8f12cf6181e6879bd44f;hp=4c4c6cf63d30416e26eb1d09b7a29f148b12453b;hb=e375e55005a476224e676015fb184ffeac170452;hpb=f515b7a8aae68363cba997f8581001401e70054b diff --git a/firmware/apps/glitch/glitch.c b/firmware/apps/glitch/glitch.c index 4c4c6cf..0e5ddb2 100644 --- a/firmware/apps/glitch/glitch.c +++ b/firmware/apps/glitch/glitch.c @@ -39,7 +39,7 @@ void glitchsetup(){ WDTCTL = WDTPW + WDTHOLD; // Stop WDT TACTL = TASSEL1 + TACLR; // SMCLK, clear TAR CCTL0 = CCIE; // CCR0 interrupt enabled - CCR0 = glitchcount+0x15; // Compare Value + CCR0 = glitchcount+0x10; // Compare Value TACTL |= MC_2; // continuous mode. #endif } @@ -95,7 +95,6 @@ void glitchrate(u16 rate){ void glitchhandle(unsigned char app, unsigned char verb, unsigned long len){ - P1OUT&=~1; switch(verb){ case GLITCHVOLTAGES: glitchvoltages(cmddataword[0],