# HG changeset patch # User heinrichsweikamp # Date 1480342218 -3600 # Node ID bab31db6e006f49caa9fa339699dad5d7d7b0e75 # Parent 408329337b8bd66069a626ddc11e2ccb71ea18bb minor diff -r 408329337b8b -r bab31db6e006 src/isr.asm --- a/src/isr.asm Fri Nov 25 14:51:11 2016 +0100 +++ b/src/isr.asm Mon Nov 28 15:10:18 2016 +0100 @@ -317,15 +317,15 @@ ;============================================================================= isr_tmr7: ; each 62,5ms - bcf PIR5,TMR7IF ; clear flag - banksel 0xF16 ; Addresses, F16h through F5Fh, are also used by SFRs, but are not part of the Access RAM. - movlw .248 + bcf PIR5,TMR7IF ; clear flag + banksel 0xF16 ; Addresses, F16h through F5Fh, are also used by SFRs, but are not part of the Access RAM. + movlw .248 movwf TMR7H ; -> Rollover after 2048 cycles -> 62,5ms banksel isr_backup - movf max_CCPR1L,W ; Dimm value - cpfseq CCPR1L ; = current PWM value? - rcall isr_dimm_tft ; No, adjust until max_CCPR1L=CCPR1L ! + movf max_CCPR1L,W ; Dimm value + cpfseq CCPR1L ; = current PWM value? + rcall isr_dimm_tft ; No, adjust until max_CCPR1L=CCPR1L ! banksel common call get_analog_switches ; Get analog readings