comparison code_part1/OSTC_code_asm_part1/divemode.asm @ 537:3091628b2742

BUGFIX: Spurious logbook read issue
author heinrichsweikamp
date Sun, 08 Jan 2012 12:44:51 +0100
parents f5a06b9e2fef
children 9e20de11fb78
comparison
equal deleted inserted replaced
536:e77df4e2d025 537:3091628b2742
433 call divemode_prepare_flags_for_deco 433 call divemode_prepare_flags_for_deco
434 clrf WREG 434 clrf WREG
435 movff WREG,char_I_step_is_1min ; Force 2 second deco mode 435 movff WREG,char_I_step_is_1min ; Force 2 second deco mode
436 436
437 clrf TMR3L 437 clrf TMR3L
438 nop ; See errata DS80284E-page 2
438 clrf TMR3H ; Reset Timer3 439 clrf TMR3H ; Reset Timer3
439 440
440 call deco_calc_hauptroutine ; calc_tissue 441 call deco_calc_hauptroutine ; calc_tissue
441 movlb b'00000001' ; rambank 1 selected 442 movlb b'00000001' ; rambank 1 selected
442 ostc_debug 'C' ; Sends debug-information to screen if debugmode active 443 ostc_debug 'C' ; Sends debug-information to screen if debugmode active