Subversion Repositories Projects

Rev

Rev 753 | Rev 761 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 753 Rev 757
Line 40... Line 40...
40
 
40
 
41
#ifndef FCONLY
41
#ifndef FCONLY
42
#define FCONLY 0                // set to 1 if you do NOT have a NaviCtrl and the OSD is
42
#define FCONLY 0                // set to 1 if you do NOT have a NaviCtrl and the OSD is
Line 43... Line -...
43
#endif                          // connected to the FC directly
-
 
44
 
-
 
45
#define NEW_ARTHORIZON  0               // set to 1 for full artificial horizon (agr type)
43
#endif                          // connected to the FC directly
46
 
44
 
47
#define HUD 1               // set to 0 to disable HUD by default
45
#define HUD 1               // set to 0 to disable HUD by default
48
#define ARTHORIZON 0            // set to 1 to enable roll&nick artificial horizon by default
46
#define ARTHORIZON 0            // set to 1 to enable roll&nick artificial horizon by default
49
#define BIGVARIO 0                      // set to 1 to enable the big vario bar on right side
47
#define BIGVARIO 0                      // set to 1 to enable the big vario bar on right side
Line 60... Line 58...
60
// ### read datasheet before changing stuff below this line :)
58
// ### read datasheet before changing stuff below this line :)
61
#define BLINK   0b01001111      // attribute byte for blinking characters
59
#define BLINK   0b01001111      // attribute byte for blinking characters
62
#define INVERT  0b00101111      // attribute byte for inverted characters
60
#define INVERT  0b00101111      // attribute byte for inverted characters
63
#define BLACKBG 0b10001111      // attribute byte for _black background_ on characters
61
#define BLACKBG 0b10001111      // attribute byte for _black background_ on characters
Line -... Line 62...
-
 
62
 
-
 
63
// ### constants
-
 
64
#define MtoFT 32808399 // 3,2808399
64
 
65
 
65
/* ##########################################################################
66
/* ##########################################################################
66
 * FLAGS usable during runtime that get saved
67
 * FLAGS usable during runtime that get saved
67
 * ##########################################################################*/
68
 * ##########################################################################*/
68
#define COSD_FLAG_HUD                     1
69
#define COSD_FLAG_HUD                     1
69
#define COSD_FLAG_ARTHORIZON      2
70
#define COSD_FLAG_ARTHORIZON      2
70
#define COSD_FLAG_BIGVARIO                4
71
#define COSD_FLAG_BIGVARIO                4
71
#define COSD_FLAG_STATS                   8
72
#define COSD_FLAG_STATS                   8
72
#define COSD_FLAG_WARNINGS               16
73
#define COSD_FLAG_WARNINGS               16
73
#define COSD_FLAG_STROMVOLT              32
74
#define COSD_FLAG_STROMVOLT              32
-
 
75
#define COSD_FLAG_FCCURRENT              64
Line 74... Line 76...
74
#define COSD_FLAG_FCCURRENT              64
76
#define COSD_FLAG_AGGRHORIZON   128
75
 
77
 
76
 
78
 
-
 
79
#define COSD_FLAG_NTSC                    1
Line 77... Line 80...
77
#define COSD_FLAG_NTSC                    1
80
#define COSD_FLAG_GPSHEIGHT               2
78
#define COSD_FLAG_GPSHEIGHT               2
81
#define COSD_FLAG_FCMODE                  4
79
#define COSD_FLAG_FCMODE                  4
82
#define COSD_FLAG_FEET                    8
80
 
83