X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=firmware%2Fapps%2Fglitch%2Fglitch.c;h=0ff76f1acda64ce40c55c44837c928ca48f185d8;hp=65742bc2874ef6080428f51b781919724d11513b;hb=d27d75e4cedfab56742717f3ac990be059f8e168;hpb=05ac6a3b363a2055e1540522e0bd2178360d6bfe diff --git a/firmware/apps/glitch/glitch.c b/firmware/apps/glitch/glitch.c index 65742bc..0ff76f1 100644 --- a/firmware/apps/glitch/glitch.c +++ b/firmware/apps/glitch/glitch.c @@ -23,8 +23,8 @@ void glitchprime(){ TACTL|=TACLR; //Clear TimerA Config TACTL|= TASSEL_SMCLK | //SMCLK source, - MC_1; //Count up to CCR0 - //TAIE; //Enable Interrupt + MC_1 | //Count up to CCR0 + TAIE; //Enable Interrupt CCTL0 = CCIE; // CCR0 interrupt enabled CCR0 = glitchcount;