Mercurial > public > hwos_code
diff src/options.asm @ 18:4e3f133dfbf4
add new opt_compass_gain option to work with more magnetic battery types
author | heinrichsweikamp |
---|---|
date | Wed, 03 Jul 2013 11:37:47 +0200 |
parents | 11d4fc797f74 |
children | 79b2084fd75a |
line wrap: on
line diff
--- a/src/options.asm Mon Jun 24 12:25:01 2013 +0200 +++ b/src/options.asm Wed Jul 03 11:37:47 2013 +0200 @@ -465,7 +465,7 @@ ; OPTION_UINT8 Label, min, max, default, text-string, EEPROM location (-1 for RAM only), RAM location ; Manage Gas List. - extern tPercent, tMeters, tMinutes, tGasDisabled, tbar + extern tPercent, tMeters, tMinutes, tGasDisabled, tbar, tcharx option_table_begin: extern char_I_deco_gas_change, char_I_setpoint_change, char_I_setpoint_cbar, char_I_dil_change @@ -490,6 +490,7 @@ OPTION_UINT8 oaGF_low, .60, .100, .60, tPercent, .17, opt_aGF_low OPTION_UINT8 oaGF_high, .80, .120, .85, tPercent, .18, opt_aGF_high OPTION_BOOL oEnable_aGF, 1, .19, opt_enable_aGF ; =1: aGF can be selected underwater + OPTION_UINT8 oCompassGain, 0, 7, 6, tcharx, .20, opt_compass_gain ; 0-7 (230LSB/Gauss to 1370LSB/Gaus) ;============================================================================= ; Managing Settings