view src/tft_outputs.inc @ 34:d7e6dfd5b498

small cleanup
author heinrichsweikamp
date Sun, 04 Aug 2013 17:52:44 +0200
parents 11d4fc797f74
children 5041477eee79
line wrap: on
line source

;=============================================================================
;
;   File tft_outputs.inc
;
;
;   Copyright (c) 2011, JD Gascuel, HeinrichsWeikamp, all right reserved.
;=============================================================================
; HISTORY
;  2011-08-07 : [mH] moving from OSTC code

; Macros
	extern	TFT_color_code1
TFT_color_code macro color_code_temp
	movlw	color_code_temp
	call	TFT_color_code1
	endm

; Surface mode
	extern	TFT_serial
	extern	TFT_clock
	extern	TFT_date
	extern	TFT_desaturation_time
	extern	TFT_nofly_time
    extern  TFT_interval
	extern	TFT_gaslist_surfmode
    extern  TFT_dillist_surfmode
    extern  TFT_splist_surfmode             ; Show Setpoint list
	extern	TFT_temp_surfmode
	extern	TFT_update_batt_voltage
	extern	TFT_display_decotype_surface
    extern  TFT_display_decotype_surface1   ; Used from logbook!
	extern	TFT_update_surf_press
    extern  TFT_surface_hud             ; Update HUD data in surface mode
;	extern	TFT_user_image
;    extern  TFT_clear_customview_surfacemode
    extern  TFT_menu_hud                ; Update HUD data in menu (including mV)
    extern  TFT_custom_text             ; The custom text
    extern  TFT_surface_tissues         ; Show Tissue diagram in surface mode
    extern  TFT_surface_compass_mask    ; Compass heading mask
    extern  TFT_surface_compass_heading ; Compass heading value

; Menu
	extern	TFT_LogOffset_Logtitle

; Debug and useless stuff
	extern	TFT_update_raw_data
    extern  TFT_compass_fast

; Dive mode
	extern	TFT_display_cns
	extern	TFT_divemins
	extern	TFT_depth
	extern	TFT_temp_divemode
	extern	TFT_max_pressure
	extern	TFT_active_gas_divemode
	extern	TFT_divemode_mask
	extern	TFT_display_ndl_mask
	extern	TFT_show_TTS_divemode
	extern	TFT_display_ndl
	extern	TFT_display_deko_mask
	extern	TFT_divemode_warning
	extern	TFT_divemode_warning_clear
	extern	TFT_display_velocity_clear
	extern	TFT_display_velocity
	extern 	TFT_clear_customview_divemode
	extern	TFT_display_deko
	extern	TFT_display_ppo2
	extern	TFT_update_batt_percent_divemode
	extern	TFT_display_apnoe_descent
	extern	TFT_apnoe_clear_surface
	extern	TFT_display_apnoe_surface
	extern	TFT_display_apnoe_last_max
	extern	TFT_ftts
    extern  TFT_clear_warning_text
    extern  TFT_clear_warning_text_2nd_row
    extern  TFT_warning_gf
    extern  TFT_update_hud                      ; Update HUD data
    extern  TFT_hud_mask                        ; The HUD mask
    extern  TFT_mask_avr_stopwatch              ; Show mask for average depth and stopwatch
    extern  TFT_update_avr_stopwatch            ; Update average depth and stopwatch
    extern  TFT_decoplan                        ; Decoplan
    extern  TFT_clear_divemode_menu             ; Clear the divemode menu
    extern  TFT_divemode_menu_cursor            ; the divemode cursor
    extern  TFT_ead_end_tissues_clock_mask      ; Setup Mask
    extern  TFT_ead_end_tissues_clock           ; Show EAD/END, Tissues and clock
    extern  TFT_gf_mask                         ; Setup Mask
    extern  TFT_gf_info                         ; Show GF informations
    extern  TFT_warning_agf                     ; Show a warning if aGF is selected
    extern  TFT_dive_compass_mask               ; Compass mask
    extern  TFT_dive_compass_heading            ; Compass heading

; Misc
	extern	TFT_standard_color
    extern  TFT_disabled_color
	extern	adjust_depth_with_salinity
	extern	TFT_convert_date_short
	extern	TFT_convert_signed_16bit
	extern	TFT_convert_date
	extern	TFT_debug_output
	extern	TFT_show_time_date_menu
	extern	convert_mbar_to_feet   			; convert value in lo:hi from mbar to feet
	extern	convert_celsius_to_fahrenheit	; convert value in lo:hi from celsius to fahrenheit