Mercurial > public > hwos_code
diff src/hwos.inc @ 389:9175429bdeba
CHANGE: Logbook now shows end-of-dive date and time for dives made with firmware <1.92 indicated by an icon in the logbook
CHANGE: Logbook shows start-of-dive date and time for dives made with firmware >=1.92
BUGFIX: Text alignment in logbook
author | heinrichsweikamp |
---|---|
date | Tue, 27 Oct 2015 13:45:10 +0100 |
parents | d8e2cf055fc3 |
children | 9e5abca93c32 |
line wrap: on
line diff
--- a/src/hwos.inc Mon Oct 19 15:06:59 2015 +0200 +++ b/src/hwos.inc Tue Oct 27 13:45:10 2015 +0100 @@ -20,7 +20,7 @@ ; Firmware definition #DEFINE softwareversion_x d'1' ; Software version XX.YY -#DEFINE softwareversion_y d'91' ; Software version XX.YY +#DEFINE softwareversion_y d'92' ; Software version XX.YY #DEFINE softwareversion_beta 0 ; (and 0 for release) ; Firmware version will appear in "Change Firmware" style #DEFINE firmware_expire_year .16 @@ -81,7 +81,7 @@ #DEFINE ignore_mv .3500 ; = 350mV (To suppress ghost readings for long, open cables) ; Profile recording parameters -#DEFINE logbook_profile_version 0x23 +#DEFINE logbook_profile_version 0x24 #DEFINE samplingrate_apnoe .1 ; [seconds] ; Warning: Divisors must be <.16 ! #DEFINE div_temperature .6 ; x samplingrate [s] @@ -528,6 +528,11 @@ s8_rawdata_sensor3 res 3 ; 24bit A/D raw data from S8 HUD sensor 3 hud_battery_mv res 2 ; hud/ppo2 monitor battery voltage in mV +start_day res 1 ; At start of dive (For logbook) +start_month res 1 ; At start of dive (For logbook) +start_year res 1 ; At start of dive (For logbook) +start_hours res 1 ; At start of dive (For logbook) +start_mins res 1 ; At start of dive (For logbook) ;----------------------------------------------------------------------------- ; Reserve BANK2 for general purpose buffer (strings, images, etc).