comparison src/ghostwriter.asm @ 39:e4e91fe8b09d

remember last customview in dive and surface mode
author mh@mh-THINK.fritz.box
date Thu, 15 Aug 2013 13:55:55 +0200
parents eca4a201d8cf
children 53a99a2dc6a1
comparison
equal deleted inserted replaced
38:64976f1e0a1c 39:e4e91fe8b09d
291 ghostwriter_end_dive: 291 ghostwriter_end_dive:
292 movff ext_flash_address+0,ext_flash_log_pointer+0 292 movff ext_flash_address+0,ext_flash_log_pointer+0
293 movff ext_flash_address+1,ext_flash_log_pointer+1 293 movff ext_flash_address+1,ext_flash_log_pointer+1
294 movff ext_flash_address+2,ext_flash_log_pointer+2 ; Save end-of-profile pointer to store in header 294 movff ext_flash_address+2,ext_flash_log_pointer+2 ; Save end-of-profile pointer to store in header
295 295
296 movff menupos3,customview_divemode ; store last customview
297
296 btfss realdive ; dive longer then one minute 298 btfss realdive ; dive longer then one minute
297 goto ghostwriter_end_dive_common ; No, discard everything 299 goto ghostwriter_end_dive_common ; No, discard everything
298 300
299 ; In DEBUG compile, keep all simulated dives in logbook, Desat time, nofly, etc... 301 ; In DEBUG compile, keep all simulated dives in logbook, Desat time, nofly, etc...
300 ifndef __DEBUG 302 ifndef __DEBUG