comparison src/hwos.inc @ 647:357341239438

Merge
author heinrichs weikamp
date Thu, 14 Oct 2021 12:04:12 +0200
parents 7d8a4c60ec1a 5b7fe7777425
children aeca5717d9eb
comparison
equal deleted inserted replaced
644:1e695355dfc4 647:357341239438
1318 dive_timeout_timer res 2 ; timeout timer for leaving dive mode after surfacing 1318 dive_timeout_timer res 2 ; timeout timer for leaving dive mode after surfacing
1319 gaslist_gas res 1 ; used for transfer between gaslist.asm and menu_tree.asm 1319 gaslist_gas res 1 ; used for transfer between gaslist.asm and menu_tree.asm
1320 best_gas_number res 1 ; number of the "best gas": 0= none found, 1-5= gases 1-5, 255= not computed 1320 best_gas_number res 1 ; number of the "best gas": 0= none found, 1-5= gases 1-5, 255= not computed
1321 active_gas res 1 ; the currently used OC/bailout gas (1-5) 1321 active_gas res 1 ; the currently used OC/bailout gas (1-5)
1322 dive_ccr_mode res 1 ; working copy of opt_ccr_mode while the dive 1322 dive_ccr_mode res 1 ; working copy of opt_ccr_mode while the dive
1323 1323 dive_threshold_debounce res 1 ; Countdown for entering dive mode
1324
1324 IFDEF _ccr_pscr 1325 IFDEF _ccr_pscr
1325 best_dil_number res 1 ; number of the "best dil": 0= none found, 1-5= dils 1-5, 255= not computed 1326 best_dil_number res 1 ; number of the "best dil": 0= none found, 1-5= dils 1-5, 255= not computed
1326 active_dil res 1 ; the currently used diluent (1-5) 1327 active_dil res 1 ; the currently used diluent (1-5)
1327 ENDIF 1328 ENDIF
1328 1329
1592 ENDIF 1593 ENDIF
1593 1594
1594 i2c_error_vault res 2 ; Store last used device ID and data byte 1595 i2c_error_vault res 2 ; Store last used device ID and data byte
1595 D1_buffer res 3 ; Buffer of D1 (Sensor raw data) 1596 D1_buffer res 3 ; Buffer of D1 (Sensor raw data)
1596 D2_buffer res 3 ; Buffer of D2 (Sensor raw data) 1597 D2_buffer res 3 ; Buffer of D2 (Sensor raw data)
1597 1598
1598 ; 156 byte used, 93 byte free 1599 brightness res 1 ; =0: Eco, =1:Medium, =2:Full
1600 ; 157 byte used, 92 byte free
1599 1601
1600 1602
1601 ;----------------------------------------------------------------------------- 1603 ;-----------------------------------------------------------------------------
1602 ; Bank 2 General Purpose Buffer 1 1604 ; Bank 2 General Purpose Buffer 1
1603 ;----------------------------------------------------------------------------- 1605 ;-----------------------------------------------------------------------------
1659 ;---- various other Settings 1661 ;---- various other Settings
1660 opt_fw_version_major res 1 ; firmware version, major | use read-only! 1662 opt_fw_version_major res 1 ; firmware version, major | use read-only!
1661 opt_fw_version_minor res 1 ; firmware version, minor | 1663 opt_fw_version_minor res 1 ; firmware version, minor |
1662 opt_fw_version_beta res 1 ; firmware version, beta | 1664 opt_fw_version_beta res 1 ; firmware version, beta |
1663 opt_surface_interval res 1 ; surface interval, used by deco calculator 1665 opt_surface_interval res 1 ; surface interval, used by deco calculator
1664 opt_brightness res 1 ; =0: Eco, =1:Medium, =2:Full 1666 opt_brightness_divemode res 1 ; =0: Eco, =1:Medium, =2:Full
1667 opt_brightness_surface res 1 ; =0: Eco, =1:Medium, =2:Full
1665 opt_salinity res 1 ; 0-5% 1668 opt_salinity res 1 ; 0-5%
1666 opt_language res 1 ; current language: 0=EN, 1=DE, 2=FR, 3=SP 1669 opt_language res 1 ; current language: 0=EN, 1=DE, 2=FR, 3=SP
1667 opt_units res 1 ; 0:m/°C, 1:ft/°F 1670 opt_units res 1 ; 0:m/°C, 1:ft/°F
1668 opt_dateformat res 1 ; =0:MMDDYY, =1:DDMMYY, =2:YYMMDD 1671 opt_dateformat res 1 ; =0:MMDDYY, =1:DDMMYY, =2:YYMMDD
1669 opt_dive_color_scheme res 1 ; dive mode color scheme selection 1672 opt_dive_color_scheme res 1 ; dive mode color scheme selection