From dbbb35983c9e01efc191a80f0f27c1b95f84b8fe Mon Sep 17 00:00:00 2001 From: ian Date: Fri, 30 Dec 2005 02:59:21 +0000 Subject: [PATCH] actually enable tick interrupt(!) --- detpic/tick.asm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/detpic/tick.asm b/detpic/tick.asm index 56ff9ae..a70ebc6 100644 --- a/detpic/tick.asm +++ b/detpic/tick.asm @@ -19,7 +19,7 @@ tick_init @ mov_wf PR2 bc_f PIR1, TMR2IF ; clear any previous interrupt bc_f IPR1, TMR2IP ; low priority - bs_f IPR1, TMR2IE ; enable interrupts + bs_f PIE1, TMR2IE ; enable interrupts bs_f T2CON, TMR2ON ; enable timer mov_lw tickdiv mov_wf tickdiv_count -- 2.30.2