diff code_part1/OSTC_code_asm_part1/isr.asm @ 245:dee88c962653

Some clean up and minor I2C speed improvements
author heinrichsweikamp
date Thu, 24 Mar 2011 21:51:36 +0100
parents 9581e48a914f
children ba109a7948df
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/isr.asm	Wed Mar 23 23:23:06 2011 +0100
+++ b/code_part1/OSTC_code_asm_part1/isr.asm	Thu Mar 24 21:51:36 2011 +0100
@@ -119,34 +119,6 @@
 		clrf	TMR0L
 		return
 		
-timer0int_left_reset:
-		bcf		INTCON2, INTEDG0			; Interrupt on faling edge again
-		bcf		switch_left_isr				; Clear flag, button press is done
-
-		movlw	T0CON_debounce				; Timer0
-		movwf	T0CON
-
-		bsf		T0CON,TMR0ON				; Start Timer 0
-		return
-
-timer0int_left:
-		bsf		INTCON2, INTEDG0			; Interrupt on rising edge again
-		return
-
-timer0int_right_reset:
-		bcf		INTCON2, INTEDG1			; Interrupt on faling edge again
-		bcf		switch_right_isr			; Clear flag, button press is done
-
-		movlw	T0CON_debounce				; Timer0
-		movwf	T0CON
-
-		bsf		T0CON,TMR0ON				; Start Timer 0
-		return
-
-timer0int_right:
-		bsf		INTCON2, INTEDG1			; Interrupt on rising edge again
-		return
-
 timer1int:
 		bcf		PIR1,TMR1IF					; Clear flag