Mercurial > public > hwos_code
comparison src/divemode.asm @ 177:67db1f6d3787
Merge
author | heinrichsweikamp |
---|---|
date | Tue, 07 Oct 2014 08:42:38 +0200 |
parents | 3fdafedc24af |
children | 39f6c07ce2f6 |
comparison
equal
deleted
inserted
replaced
175:d097e10b383b | 177:67db1f6d3787 |
---|---|
738 movlw .0 | 738 movlw .0 |
739 movff WREG,opt_brightness ; Set Brightness to ECO | 739 movff WREG,opt_brightness ; Set Brightness to ECO |
740 return ; return | 740 return ; return |
741 | 741 |
742 calc_average_depth: | 742 calc_average_depth: |
743 btfsc reset_average_depth ; Reset the Avewrage depth? | 743 btfsc reset_average_depth ; Reset the Average depth? |
744 rcall reset_average1 ; Reset the resettable average depth | 744 rcall reset_average1 ; Reset the resettable average depth |
745 | 745 |
746 ; 1. Add new 2xdepth to the Sum of depths registers | 746 ; 1. Add new 2xdepth to the Sum of depths registers |
747 SAFE_2BYTE_COPY rel_pressure, xB ; Buffer... | 747 SAFE_2BYTE_COPY rel_pressure, xB ; Buffer... |
748 bcf STATUS,C | 748 bcf STATUS,C |