Mercurial > public > hwos_code
comparison src/option_table.asm @ 298:2fe34fc0e2ae
new submenu for gas consumption, show actual mix instead of GAS1-GAS5 in deco planner
author | heinrichsweikamp |
---|---|
date | Sun, 31 May 2015 16:19:56 +0200 |
parents | 653a3ab08062 |
children | 9b1b0b32e7d5 |
comparison
equal
deleted
inserted
replaced
297:65f6a7bfc205 | 298:2fe34fc0e2ae |
---|---|
84 extern char_I_deco_gas_change, char_I_setpoint_change, char_I_setpoint_cbar, char_I_dil_change | 84 extern char_I_deco_gas_change, char_I_setpoint_change, char_I_setpoint_cbar, char_I_dil_change |
85 extern char_I_dive_interval, char_I_bottom_time, char_I_bottom_depth | 85 extern char_I_dive_interval, char_I_bottom_time, char_I_bottom_depth |
86 extern char_I_deco_model, char_I_saturation_multiplier, char_I_desaturation_multiplier | 86 extern char_I_deco_model, char_I_saturation_multiplier, char_I_desaturation_multiplier |
87 extern char_I_extra_time | 87 extern char_I_extra_time |
88 extern tDefName | 88 extern tDefName |
89 extern char_I_bottom_usage,char_I_deco_usage,tLitersMinute | |
89 ; Option table | 90 ; Option table |
90 ; OPTION_UINT8 Label, min, max, default, text-string, EEPROM location (-1 for RAM only), RAM location | 91 ; OPTION_UINT8 Label, min, max, default, text-string, EEPROM location (-1 for RAM only), RAM location |
91 global option_table_begin | 92 global option_table_begin |
92 option_table_begin: | 93 option_table_begin: |
93 ;============================================================================= | 94 ;============================================================================= |
194 OPTION_UINT8 oCalGasO2, .21,.100, .21, tPercent, .149, opt_calibration_O2_ratio ; Calibration gas %O2 | 195 OPTION_UINT8 oCalGasO2, .21,.100, .21, tPercent, .149, opt_calibration_O2_ratio ; Calibration gas %O2 |
195 OPTION_BOOL oSensorFallback,1, .150, opt_sensor_fallback ; =1: Fallback to SP1 when sensor is lost | 196 OPTION_BOOL oSensorFallback,1, .150, opt_sensor_fallback ; =1: Fallback to SP1 when sensor is lost |
196 OPTION_BOOL oFlipScreen, 0, .151, opt_flip_screen ; =1: Flip the screen | 197 OPTION_BOOL oFlipScreen, 0, .151, opt_flip_screen ; =1: Flip the screen |
197 OPTION_UINT8p10 ocR_button_left,.20, .100, .40, tPercent, .152, opt_cR_button_left ; left button sensitivity | 198 OPTION_UINT8p10 ocR_button_left,.20, .100, .40, tPercent, .152, opt_cR_button_left ; left button sensitivity |
198 OPTION_UINT8p10 ocR_button_right,.20, .100, .40, tPercent, .153, opt_cR_button_right ; right button sensitivity | 199 OPTION_UINT8p10 ocR_button_right,.20, .100, .40, tPercent, .153, opt_cR_button_right ; right button sensitivity |
200 OPTION_UINT8 obottom_usage, .5,.50, .20,tLitersMinute, .154, char_I_bottom_usage ; l/min | |
201 OPTION_UINT8 odeco_usage, .5,.50, .20,tLitersMinute, .155, char_I_deco_usage ; l/min | |
199 | 202 |
200 ;============================================================================= | 203 ;============================================================================= |
201 ; Set Time/Set Date (RAM only) | 204 ; Set Time/Set Date (RAM only) |
202 OPTION_UINT8 oSetHours, .0, .23, .0, 0, -1, hours | 205 OPTION_UINT8 oSetHours, .0, .23, .0, 0, -1, hours |
203 OPTION_UINT8 oSetMinutes, .0, .59, .0, 0, -1, mins | 206 OPTION_UINT8 oSetMinutes, .0, .59, .0, 0, -1, mins |