Rev 514 | Rev 685 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 514 | Rev 523 | ||
---|---|---|---|
Line 59... | Line 59... | ||
59 | #define BLINK 0b01001111 // attribute byte for blinking chars |
59 | #define BLINK 0b01001111 // attribute byte for blinking chars |
Line 60... | Line 60... | ||
60 | 60 | ||
61 | /* ########################################################################## |
61 | /* ########################################################################## |
62 | * FLAGS usable during runtime that get saved |
62 | * FLAGS usable during runtime that get saved |
- | 63 | * ##########################################################################*/ |
|
- | 64 | #define COSD_FLAG_HUD 1 |
|
- | 65 | #define COSD_FLAG_ARTHORIZON 2 |
|
- | 66 | #define COSD_FLAG_BIGVARIO 4 |
|
- | 67 | #define COSD_FLAG_STATS 8 |
|
- | 68 | #define COSD_FLAG_WARNINGS 16 |
|
- | 69 | #define COSD_FLAG_STROMVOLT 32 |
|
63 | * ##########################################################################*/ |
70 | |
64 | #define COSD_FLAG_NTSC 1 |
71 | #define COSD_FLAG_NTSC 1 |
65 | #define COSD_FLAG_HUD 2 |
- | |
66 | #define COSD_FLAG_ARTHORIZON 4 |
- | |
67 | #define COSD_FLAG_BIGVARIO 8 |
- | |
68 | #define COSD_FLAG_STATS 16 |
- | |
69 | #define COSD_FLAG_WARNINGS 32 |
- | |
70 | #define COSD_FLAG_STROMVOLT 64 |
72 | #define COSD_FLAG_GPSHEIGHT 2 |
Line 71... | Line 73... | ||
71 | #define COSD_FLAG_FCMODE 128 |
73 | #define COSD_FLAG_FCMODE 4 |
72 | 74 | ||
73 | /* ########################################################################## |
75 | /* ########################################################################## |
74 | * FLAGS only usable during runtime (not saved) |
76 | * FLAGS only usable during runtime (not saved) |
Line 146... | Line 148... | ||
146 | // battery voltages |
148 | // battery voltages |
147 | uint8_t min_voltage; |
149 | uint8_t min_voltage; |
148 | uint8_t max_voltage; |
150 | uint8_t max_voltage; |
Line 149... | Line 151... | ||
149 | 151 | ||
150 | // Flags |
152 | // Flags |
Line 151... | Line 153... | ||
151 | uint8_t COSD_FLAGS, COSD_FLAGS2, COSD_DISPLAYMODE; |
153 | uint8_t COSD_FLAGS_MODES, COSD_FLAGS_CONFIG, COSD_FLAGS_RUNTIME, COSD_DISPLAYMODE; |
152 | 154 | ||
153 | // stats for after flight |
155 | // stats for after flight |
Line 154... | Line 156... | ||
154 | int16_t max_Altimeter; |
156 | int16_t max_Altimeter, altimeter_offset; |
155 | uint8_t min_UBat; |
157 | uint8_t min_UBat; |
156 | 158 |