Mercurial > public > hwos_code
comparison src/hwos.inc @ 573:cf4395595d9b
docu update
author | heinrichsweikamp |
---|---|
date | Tue, 13 Feb 2018 14:55:43 +0100 |
parents | 99735a34dbbf |
children | bf34a2f784ab |
comparison
equal
deleted
inserted
replaced
572:0039f057b90f | 573:cf4395595d9b |
---|---|
13 | 13 |
14 LIST P=18F87K22 ; change also: Configure->SelectDevice from Mplab | 14 LIST P=18F87K22 ; change also: Configure->SelectDevice from Mplab |
15 | 15 |
16 ;#DEFINE __DEBUG | 16 ;#DEFINE __DEBUG |
17 | 17 |
18 #DEFINE french_italian ; If defined, use french and italian instead of english and german | 18 ;#DEFINE french_italian ; If defined, use french and italian instead of english and german |
19 | 19 |
20 #include <p18f87k22.inc> | 20 #include <p18f87k22.inc> |
21 #include <ports.inc> ; Portmap | 21 #include <ports.inc> ; Portmap |
22 | 22 |
23 ; Firmware definition | 23 ; Firmware definition |
24 #DEFINE softwareversion_x d'2' ; Software version XX.YY | 24 #DEFINE softwareversion_x d'2' ; Software version XX.YY |
25 #DEFINE softwareversion_y d'97' ; Software version XX.YY | 25 #DEFINE softwareversion_y d'97' ; Software version XX.YY |
26 #DEFINE softwareversion_beta 1 ; (and 0 for release) | 26 #DEFINE softwareversion_beta 0 ; (and 0 for release) |
27 | 27 |
28 ; Firmware version will appear in "Change Firmware" style | 28 ; Firmware version will appear in "Change Firmware" style |
29 #DEFINE firmware_expire_year .18 | 29 #DEFINE firmware_expire_year .18 |
30 #DEFINE firmware_expire_month .2 | 30 #DEFINE firmware_expire_month .2 |
31 #DEFINE firmware_expire_day .22 | 31 #DEFINE firmware_expire_day .22 |
78 #DEFINE warn_ppo2_hud .7 | 78 #DEFINE warn_ppo2_hud .7 |
79 #DEFINE warn_battery .8 | 79 #DEFINE warn_battery .8 |
80 #DEFINE warn_stop .9 | 80 #DEFINE warn_stop .9 |
81 | 81 |
82 ; External O2 cell input parameters | 82 ; External O2 cell input parameters |
83 #DEFINE min_mv .80 ; = 8mV | 83 #DEFINE min_mv .80 ; = 8mV |
84 #DEFINE max_mv .2500 ; = 250mV | 84 #DEFINE max_mv .2500 ; = 250mV |
85 #DEFINE ignore_mv .3500 ; = 350mV (To suppress ghost readings for long, open cables) | 85 #DEFINE ignore_mv .3500 ; = 350mV (To suppress ghost readings for long, open cables) |
86 | 86 |
87 ; Profile recording parameters | 87 ; Profile recording parameters |
88 #DEFINE logbook_profile_version 0x24 | 88 #DEFINE logbook_profile_version 0x24 |