comparison src/option_table.asm @ 185:f515712d8cd6

BUGFIX: Check min and max values after PC configuration properly
author heinrichsweikamp
date Sat, 18 Oct 2014 10:03:28 +0200
parents 976e19d1e1ba
children effd7259f5a5
comparison
equal deleted inserted replaced
184:faa06c58e977 185:f515712d8cd6
112 112
113 ;============================================================================= 113 ;=============================================================================
114 ; Managing Settings 114 ; Managing Settings
115 OPTION_UINT8 oExtraTime, 0, .9, 0,tMinutes, .22, char_I_extra_time ; Future TTS 115 OPTION_UINT8 oExtraTime, 0, .9, 0,tMinutes, .22, char_I_extra_time ; Future TTS
116 OPTION_ENUM8 oBrightness, 3, 0, tEco, .23, opt_brightness ; =0: Eco, =1:Medium, =2:Full 116 OPTION_ENUM8 oBrightness, 3, 0, tEco, .23, opt_brightness ; =0: Eco, =1:Medium, =2:Full
117 OPTION_UINT8 oDiveSalinity, 0, 4, 0, tPercent, .24, opt_salinity ; 0-5% 117 OPTION_UINT8 oDiveSalinity, 0, 4, 0, tPercent, .24, opt_salinity ; 0-4%
118 OPTION_ENUM8 oCCRMode, 2, 0, tCCRModeFixedSP, .25, opt_ccr_mode ; =0: Fixed SP, =1: Sensor 118 OPTION_ENUM8 oCCRMode, 2, 0, tCCRModeFixedSP, .25, opt_ccr_mode ; =0: Fixed SP, =1: Sensor
119 OPTION_ENUM8 oLanguage, 4, 0, tEnglish, .26, opt_language ; 0=EN, 1=DE, 2=FR, 3=SP 119 OPTION_ENUM8 oLanguage, 4, 0, tEnglish, .26, opt_language ; 0=EN, 1=DE, 2=FR, 3=SP
120 OPTION_ENUM8 oDateFormat, 3, 1, tDateformat,.27, opt_dateformat ; =0:MMDDYY, =1:DDMMYY, =2:YYMMDD 120 OPTION_ENUM8 oDateFormat, 3, 1, tDateformat,.27, opt_dateformat ; =0:MMDDYY, =1:DDMMYY, =2:YYMMDD
121 OPTION_ENUM8 oUnits, 2, 0, tMetric, .28, opt_units ; 0=Meters, 1=Feets 121 OPTION_ENUM8 oUnits, 2, 0, tMetric, .28, opt_units ; 0=Meters, 1=Feets
122 122
134 OPTION_ENUM8 oGas1, 3, 1, tGasDisabled, .35, opt_gas_type+0; 0=Disabled, 1=First, 2=Travel, 3=Deco 134 OPTION_ENUM8 oGas1, 3, 1, tGasDisabled, .35, opt_gas_type+0; 0=Disabled, 1=First, 2=Travel, 3=Deco
135 OPTION_ENUM8 oGas2, 3, 0, tGasDisabled, .36, opt_gas_type+1 135 OPTION_ENUM8 oGas2, 3, 0, tGasDisabled, .36, opt_gas_type+1
136 OPTION_ENUM8 oGas3, 3, 0, tGasDisabled, .37, opt_gas_type+2 136 OPTION_ENUM8 oGas3, 3, 0, tGasDisabled, .37, opt_gas_type+2
137 OPTION_ENUM8 oGas4, 3, 0, tGasDisabled, .38, opt_gas_type+3 137 OPTION_ENUM8 oGas4, 3, 0, tGasDisabled, .38, opt_gas_type+3
138 OPTION_ENUM8 oGas5, 3, 0, tGasDisabled, .39, opt_gas_type+4 138 OPTION_ENUM8 oGas5, 3, 0, tGasDisabled, .39, opt_gas_type+4
139 OPTION_UINT8 oGas1O2, .7 ,.101, .21, tPercent, .40, opt_gas_O2_ratio+0 139 OPTION_UINT8 oGas1O2, .7 ,.100, .21, tPercent, .40, opt_gas_O2_ratio+0
140 OPTION_UINT8 oGas1He, .1, .100, .0, tPercent, .41, opt_gas_He_ratio+0 140 OPTION_UINT8 oGas1He, .1, .100, .0, tPercent, .41, opt_gas_He_ratio+0
141 OPTION_UINT8 oGas2O2, .7 ,.101, .21, tPercent, .42, opt_gas_O2_ratio+1 141 OPTION_UINT8 oGas2O2, .7 ,.100, .21, tPercent, .42, opt_gas_O2_ratio+1
142 OPTION_UINT8 oGas2He, .1, .100, .0, tPercent, .43, opt_gas_He_ratio+1 142 OPTION_UINT8 oGas2He, .1, .100, .0, tPercent, .43, opt_gas_He_ratio+1
143 OPTION_UINT8 oGas3O2, .7 ,.101, .21, tPercent, .44, opt_gas_O2_ratio+2 143 OPTION_UINT8 oGas3O2, .7 ,.100, .21, tPercent, .44, opt_gas_O2_ratio+2
144 OPTION_UINT8 oGas3He, .1, .100, .0, tPercent, .45, opt_gas_He_ratio+2 144 OPTION_UINT8 oGas3He, .1, .100, .0, tPercent, .45, opt_gas_He_ratio+2
145 OPTION_UINT8 oGas4O2, .7 ,.101, .21, tPercent, .46, opt_gas_O2_ratio+3 145 OPTION_UINT8 oGas4O2, .7 ,.100, .21, tPercent, .46, opt_gas_O2_ratio+3
146 OPTION_UINT8 oGas4He, .1, .100, .0, tPercent, .47, opt_gas_He_ratio+3 146 OPTION_UINT8 oGas4He, .1, .100, .0, tPercent, .47, opt_gas_He_ratio+3
147 OPTION_UINT8 oGas5O2, .7 ,.101, .21, tPercent, .48, opt_gas_O2_ratio+4 147 OPTION_UINT8 oGas5O2, .7 ,.100, .21, tPercent, .48, opt_gas_O2_ratio+4
148 OPTION_UINT8 oGas5He, .1, .100, .0, tPercent, .49, opt_gas_He_ratio+4 148 OPTION_UINT8 oGas5He, .1, .100, .0, tPercent, .49, opt_gas_He_ratio+4
149 OPTION_UINT8 oGas1Depth, .0, .99, .0, tMeters, .50, opt_OC_bail_gas_change+0 149 OPTION_UINT8 oGas1Depth, .0, .99, .0, tMeters, .50, opt_OC_bail_gas_change+0
150 OPTION_UINT8 oGas2Depth, .0, .99, .0, tMeters, .51, opt_OC_bail_gas_change+1 150 OPTION_UINT8 oGas2Depth, .0, .99, .0, tMeters, .51, opt_OC_bail_gas_change+1
151 OPTION_UINT8 oGas3Depth, .0, .99, .0, tMeters, .52, opt_OC_bail_gas_change+2 151 OPTION_UINT8 oGas3Depth, .0, .99, .0, tMeters, .52, opt_OC_bail_gas_change+2
152 OPTION_UINT8 oGas4Depth, .0, .99, .0, tMeters, .53, opt_OC_bail_gas_change+3 152 OPTION_UINT8 oGas4Depth, .0, .99, .0, tMeters, .53, opt_OC_bail_gas_change+3
153 OPTION_UINT8 oGas5Depth, .0, .99, .0, tMeters, .54, opt_OC_bail_gas_change+4 153 OPTION_UINT8 oGas5Depth, .0, .99, .0, tMeters, .54, opt_OC_bail_gas_change+4
154 OPTION_UINT8 oDil1O2, .7 ,.101, .21, tPercent, .55, opt_dil_O2_ratio+0 154 OPTION_UINT8 oDil1O2, .7 ,.100, .21, tPercent, .55, opt_dil_O2_ratio+0
155 OPTION_UINT8 oDil1He, .1, .100, .0, tPercent, .56, opt_dil_He_ratio+0 155 OPTION_UINT8 oDil1He, .1, .100, .0, tPercent, .56, opt_dil_He_ratio+0
156 OPTION_UINT8 oDil2O2, .7 ,.101, .21, tPercent, .57, opt_dil_O2_ratio+1 156 OPTION_UINT8 oDil2O2, .7 ,.100, .21, tPercent, .57, opt_dil_O2_ratio+1
157 OPTION_UINT8 oDil2He, .1, .100, .0, tPercent, .58, opt_dil_He_ratio+1 157 OPTION_UINT8 oDil2He, .1, .100, .0, tPercent, .58, opt_dil_He_ratio+1
158 OPTION_UINT8 oDil3O2, .7 ,.101, .21, tPercent, .59, opt_dil_O2_ratio+2 158 OPTION_UINT8 oDil3O2, .7 ,.100, .21, tPercent, .59, opt_dil_O2_ratio+2
159 OPTION_UINT8 oDil3He, .1, .100, .0, tPercent, .60, opt_dil_He_ratio+2 159 OPTION_UINT8 oDil3He, .1, .100, .0, tPercent, .60, opt_dil_He_ratio+2
160 OPTION_UINT8 oDil4O2, .7 ,.101, .21, tPercent, .61, opt_dil_O2_ratio+3 160 OPTION_UINT8 oDil4O2, .7 ,.100, .21, tPercent, .61, opt_dil_O2_ratio+3
161 OPTION_UINT8 oDil4He, .1, .100, .0, tPercent, .62, opt_dil_He_ratio+3 161 OPTION_UINT8 oDil4He, .1, .100, .0, tPercent, .62, opt_dil_He_ratio+3
162 OPTION_UINT8 oDil5O2, .7 ,.101, .21, tPercent, .63, opt_dil_O2_ratio+4 162 OPTION_UINT8 oDil5O2, .7 ,.100, .21, tPercent, .63, opt_dil_O2_ratio+4
163 OPTION_UINT8 oDil5He, .1, .100, .0, tPercent, .64, opt_dil_He_ratio+4 163 OPTION_UINT8 oDil5He, .1, .100, .0, tPercent, .64, opt_dil_He_ratio+4
164 OPTION_UINT8 oSetPoint1, .20, .160, .70, tbar, .65, char_I_setpoint_cbar+0 164 OPTION_UINT8 oSetPoint1, .20, .160, .70, tbar, .65, char_I_setpoint_cbar+0
165 OPTION_UINT8 oSetPoint2, .20, .160, .90, tbar, .66, char_I_setpoint_cbar+1 165 OPTION_UINT8 oSetPoint2, .20, .160, .90, tbar, .66, char_I_setpoint_cbar+1
166 OPTION_UINT8 oSetPoint3, .20, .160, .100, tbar, .67, char_I_setpoint_cbar+2 166 OPTION_UINT8 oSetPoint3, .20, .160, .100, tbar, .67, char_I_setpoint_cbar+2
167 OPTION_UINT8 oSetPoint4, .20, .160, .120, tbar, .68, char_I_setpoint_cbar+3 167 OPTION_UINT8 oSetPoint4, .20, .160, .120, tbar, .68, char_I_setpoint_cbar+3