comparison code_part1/OSTC_code_asm_part1/divemode.asm @ 776:5760f2b689c5

minor
author heinrichsweikamp
date Tue, 15 Apr 2014 12:20:15 +0200
parents 920afa50bb0b
children de7fa2316913
comparison
equal deleted inserted replaced
775:f32b9ad6244c 776:5760f2b689c5
1905 bra set_powersafe1 ; Still to low 1905 bra set_powersafe1 ; Still to low
1906 bcf low_battery_state ; clear flag for battery warning mode 1906 bcf low_battery_state ; clear flag for battery warning mode
1907 return 1907 return
1908 1908
1909 calc_average_depth: 1909 calc_average_depth:
1910 btfsc reset_average_depth ; Reset the Avewrage depth? 1910 btfsc reset_average_depth ; Reset the Average depth?
1911 rcall reset_average1 ; Reset the resettable average depth 1911 rcall reset_average1 ; Reset the resettable average depth
1912 1912
1913 ; 1. Add new 2xdepth to the Sum of depths registers 1913 ; 1. Add new 2xdepth to the Sum of depths registers
1914 SAFE_2BYTE_COPY rel_pressure, b0_lo ; Buffer... 1914 SAFE_2BYTE_COPY rel_pressure, b0_lo ; Buffer...
1915 1915