comparison 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
comparison
equal deleted inserted replaced
17:1f096c3d4b27 18:4e3f133dfbf4
463 ;============================================================================= 463 ;=============================================================================
464 ; Option table 464 ; Option table
465 ; OPTION_UINT8 Label, min, max, default, text-string, EEPROM location (-1 for RAM only), RAM location 465 ; OPTION_UINT8 Label, min, max, default, text-string, EEPROM location (-1 for RAM only), RAM location
466 466
467 ; Manage Gas List. 467 ; Manage Gas List.
468 extern tPercent, tMeters, tMinutes, tGasDisabled, tbar 468 extern tPercent, tMeters, tMinutes, tGasDisabled, tbar, tcharx
469 469
470 option_table_begin: 470 option_table_begin:
471 extern char_I_deco_gas_change, char_I_setpoint_change, char_I_setpoint_cbar, char_I_dil_change 471 extern char_I_deco_gas_change, char_I_setpoint_change, char_I_setpoint_cbar, char_I_dil_change
472 ;============================================================================= 472 ;=============================================================================
473 ; Manage Decoplaner & Dive parameters 473 ; Manage Decoplaner & Dive parameters
488 OPTION_UINT8p10 odesatmult, .60, .100, .90,tPercent, .15, char_I_desaturation_multiplier 488 OPTION_UINT8p10 odesatmult, .60, .100, .90,tPercent, .15, char_I_desaturation_multiplier
489 OPTION_UINT8p10 oPPO2Min, .16, ppo2_warning_low, .19, 0, .16, opt_ppO2_min 489 OPTION_UINT8p10 oPPO2Min, .16, ppo2_warning_low, .19, 0, .16, opt_ppO2_min
490 OPTION_UINT8 oaGF_low, .60, .100, .60, tPercent, .17, opt_aGF_low 490 OPTION_UINT8 oaGF_low, .60, .100, .60, tPercent, .17, opt_aGF_low
491 OPTION_UINT8 oaGF_high, .80, .120, .85, tPercent, .18, opt_aGF_high 491 OPTION_UINT8 oaGF_high, .80, .120, .85, tPercent, .18, opt_aGF_high
492 OPTION_BOOL oEnable_aGF, 1, .19, opt_enable_aGF ; =1: aGF can be selected underwater 492 OPTION_BOOL oEnable_aGF, 1, .19, opt_enable_aGF ; =1: aGF can be selected underwater
493 OPTION_UINT8 oCompassGain, 0, 7, 6, tcharx, .20, opt_compass_gain ; 0-7 (230LSB/Gauss to 1370LSB/Gaus)
493 494
494 ;============================================================================= 495 ;=============================================================================
495 ; Managing Settings 496 ; Managing Settings
496 extern char_I_extra_time 497 extern char_I_extra_time
497 OPTION_UINT8 oExtraTime, 0, .9, 5,tMinutes, .22, char_I_extra_time 498 OPTION_UINT8 oExtraTime, 0, .9, 5,tMinutes, .22, char_I_extra_time