Subversion Repositories Projects

Compare Revisions

Ignore whitespace Rev 523 → Rev 522

/C-OSD/trunk/main.h
61,16 → 61,14
/* ##########################################################################
* FLAGS usable during runtime that get saved
* ##########################################################################*/
#define COSD_FLAG_HUD 1
#define COSD_FLAG_ARTHORIZON 2
#define COSD_FLAG_BIGVARIO 4
#define COSD_FLAG_STATS 8
#define COSD_FLAG_WARNINGS 16
#define COSD_FLAG_STROMVOLT 32
 
#define COSD_FLAG_NTSC 1
#define COSD_FLAG_GPSHEIGHT 2
#define COSD_FLAG_FCMODE 4
#define COSD_FLAG_HUD 2
#define COSD_FLAG_ARTHORIZON 4
#define COSD_FLAG_BIGVARIO 8
#define COSD_FLAG_STATS 16
#define COSD_FLAG_WARNINGS 32
#define COSD_FLAG_STROMVOLT 64
#define COSD_FLAG_FCMODE 128
 
/* ##########################################################################
* FLAGS only usable during runtime (not saved)
150,10 → 148,10
uint8_t max_voltage;
 
// Flags
uint8_t COSD_FLAGS_MODES, COSD_FLAGS_CONFIG, COSD_FLAGS_RUNTIME, COSD_DISPLAYMODE;
uint8_t COSD_FLAGS, COSD_FLAGS2, COSD_DISPLAYMODE;
 
// stats for after flight
int16_t max_Altimeter, altimeter_offset;
int16_t max_Altimeter;
uint8_t min_UBat;
 
uint16_t max_GroundSpeed;