comparison code_part1/OSTC_code_asm_part1/divemode.asm @ 357:562f1bc79f3c 64kByte Logbook

Bugfix: Wake-up into divemode with 1.91alpha
author Heinrichsweikamp
date Tue, 07 Jun 2011 13:06:14 +0200
parents 544a96faa9f3
children 88660a400338
comparison
equal deleted inserted replaced
352:544a96faa9f3 357:562f1bc79f3c
1335 1335
1336 movff avr_rel_pressure_total+0,WREG ; Average Depth 1336 movff avr_rel_pressure_total+0,WREG ; Average Depth
1337 call write_external_eeprom 1337 call write_external_eeprom
1338 movff avr_rel_pressure_total+1,WREG ; Average Depth 1338 movff avr_rel_pressure_total+1,WREG ; Average Depth
1339 call write_external_eeprom 1339 call write_external_eeprom
1340 1340
1341 clrf WREG 1341 movff total_divetime_seconds+0,WREG ; Total dive time (Regardless of CF01)
1342 call write_external_eeprom ; Spare8 1342 call write_external_eeprom
1343 clrf WREG 1343 movff total_divetime_seconds+1,WREG ; Total dive time (Regardless of CF01)
1344 call write_external_eeprom ; Spare7 1344 call write_external_eeprom
1345
1345 clrf WREG 1346 clrf WREG
1346 call write_external_eeprom ; Spare6 1347 call write_external_eeprom ; Spare6
1347 clrf WREG 1348 clrf WREG
1348 call write_external_eeprom ; Spare5 1349 call write_external_eeprom ; Spare5
1349 clrf WREG 1350 clrf WREG
1716 clrf apnoe_surface_secs 1717 clrf apnoe_surface_secs
1717 clrf apnoe_mins 1718 clrf apnoe_mins
1718 clrf apnoe_secs 1719 clrf apnoe_secs
1719 clrf divemins+0 1720 clrf divemins+0
1720 clrf divemins+1 1721 clrf divemins+1
1722 clrf total_divetime_seconds+0
1723 clrf total_divetime_seconds+1
1721 clrf menupos3 1724 clrf menupos3
1722 bcf menu3_active 1725 bcf menu3_active
1723 clrf divesecs 1726 clrf divesecs
1724 clrf samplesecs 1727 clrf samplesecs
1725 clrf apnoe_timeout_counter ; timeout in minutes 1728 clrf apnoe_timeout_counter ; timeout in minutes