Mercurial > public > mk2
changeset 379:cf1023a53d0c 64kByte Logbook
clean up
author | heinrichsweikamp |
---|---|
date | Tue, 14 Jun 2011 19:25:09 +0200 |
parents | 51baf8777b73 |
children | 620c95e23e32 |
files | code_part1/OSTC_code_asm_part1/isr.asm |
diffstat | 1 files changed, 4 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/code_part1/OSTC_code_asm_part1/isr.asm Mon Jun 13 11:29:37 2011 +0200 +++ b/code_part1/OSTC_code_asm_part1/isr.asm Tue Jun 14 19:25:09 2011 +0200 @@ -185,9 +185,9 @@ cpfslt TMR1H ; Did we miss a 1/16 second? incf timer1int_counter1,F ; Yes, add extra 1/16 second - movlw 0x10 ; Timer1 int after 62.5ms (=16/second) - cpfslt TMR1H ; Did we miss another 1/16 second? - incf timer1int_counter1,F ; Yes, add another extra 1/16 second +; movlw 0x10 ; Timer1 int after 62.5ms (=16/second) +; cpfslt TMR1H ; Did we miss another 1/16 second? +; incf timer1int_counter1,F ; Yes, add another extra 1/16 second movlw 0x08 ; Timer1 int after 62.5ms (=16/second) subwf TMR1H,F @@ -399,8 +399,7 @@ return clrf hours incf day,F -; test for race condition -; movff time_correction_value,secs ; Correct too slow clock + movff time_correction_value,secs ; Correct too slow clock check_date: movff month,isr_divB ; new month?