comparison code_part1/OSTC_code_asm_part1/definitions.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 5c186a72cb5d
children 584741726190
comparison
equal deleted inserted replaced
352:544a96faa9f3 357:562f1bc79f3c
32 #DEFINE ENGLISH ; Use english_text.asm 32 #DEFINE ENGLISH ; Use english_text.asm
33 ;#DEFINE FRENCH ; Use french_text.asm 33 ;#DEFINE FRENCH ; Use french_text.asm
34 ;#DEFINE GERMAN ; Use german_text.asm 34 ;#DEFINE GERMAN ; Use german_text.asm
35 ;#DEFINE SPANISH ; Use spanish_text.asm 35 ;#DEFINE SPANISH ; Use spanish_text.asm
36 36
37 #DEFINE __DEBUG ; 37 ;#DEFINE __DEBUG ;
38 38
39 #DEFINE logbook_profile_version 0x21 ; Do not touch! 39 #DEFINE logbook_profile_version 0x21 ; Do not touch!
40 #DEFINE T0CON_debounce b'00000000' ; Timer0 Switch Debounce 40 #DEFINE T0CON_debounce b'00000000' ; Timer0 Switch Debounce
41 41
42 #DEFINE FT_SMALL .0 42 #DEFINE FT_SMALL .0
331 331
332 convert_value_temp res 3 ; used in menu_battery_state_convert_date 332 convert_value_temp res 3 ; used in menu_battery_state_convert_date
333 time_correction_value res 1 ; Adds to Seconds on midnight 333 time_correction_value res 1 ; Adds to Seconds on midnight
334 gaslist_active res 1 ; Holds flags for active gases 334 gaslist_active res 1 ; Holds flags for active gases
335 desaturation_time_buffer res 2 ; buffer for desat time 335 desaturation_time_buffer res 2 ; buffer for desat time
336 total_divetime_seconds res 2 ; counts dive seconds regardless of CF01 (18h max.)
336 337
337 ;============================================================================= 338 ;=============================================================================
338 ; C-code Routines 339 ; C-code Routines
339 ; PART 2 340 ; PART 2
340 extern deco_calc_CNS_decrease_15min 341 extern deco_calc_CNS_decrease_15min