comparison src/divemode.asm @ 389:9175429bdeba

CHANGE: Logbook now shows end-of-dive date and time for dives made with firmware <1.92 indicated by an icon in the logbook CHANGE: Logbook shows start-of-dive date and time for dives made with firmware >=1.92 BUGFIX: Text alignment in logbook
author heinrichsweikamp
date Tue, 27 Oct 2015 13:45:10 +0100
parents 3c55627d5f8f
children 1f2e35f5a5aa
comparison
equal deleted inserted replaced
388:d8e2cf055fc3 389:9175429bdeba
1448 ; clrf apnoe_surface_mins 1448 ; clrf apnoe_surface_mins
1449 ; clrf apnoe_surface_secs 1449 ; clrf apnoe_surface_secs
1450 clrf apnoe_mins 1450 clrf apnoe_mins
1451 clrf divemins+0 1451 clrf divemins+0
1452 clrf divemins+1 1452 clrf divemins+1
1453
1454 ; Copy date and time for logbook
1455 movff year,start_year
1456 movff month,start_month
1457 movff day,start_day
1458 movff hours,start_hours
1459 movff mins,start_mins
1460
1453 bcf no_more_divesecs ; =1: Do no longer show seconds in divemode 1461 bcf no_more_divesecs ; =1: Do no longer show seconds in divemode
1454 bcf divemode_menu_active 1462 bcf divemode_menu_active
1455 clrf menupos 1463 clrf menupos
1456 clrf menupos2 ; Reset to zero (Zero=no premenu or simulator task) 1464 clrf menupos2 ; Reset to zero (Zero=no premenu or simulator task)
1457 1465