Subversion Repositories Projects

Rev

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

Rev 835 Rev 837
Line 82... Line 82...
82
 
82
 
83
// battery voltages
83
// battery voltages
84
uint8_t min_voltage = 0;
84
uint8_t min_voltage = 0;
85
uint8_t max_voltage = 0;
85
uint8_t max_voltage = 0;
86
 
86
 
-
 
87
uint8_t scope[8] = {
-
 
88
    5, 5,
-
 
89
    25, 5,
-
 
90
    5, 10,
-
 
91
    25, 10
-
 
92
};
-
 
93
 
87
// Flags
94
// Flags
88
uint8_t COSD_FLAGS_MODES = 0, COSD_FLAGS_CONFIG = 0, COSD_FLAGS_RUNTIME = 0, COSD_DISPLAYMODE = 0;
95
uint8_t COSD_FLAGS_MODES = 0, COSD_FLAGS_CONFIG = 0, COSD_FLAGS_RUNTIME = 0, COSD_DISPLAYMODE = 0;
89
 
96
 
90
 
97
 
91
 
98
 
Line 257... Line 264...
257
    _delay_ms(1000);
264
    _delay_ms(1000);
258
    LED4_OFF
265
    LED4_OFF
259
 
266
 
260
    //Pushing NEW chars to the MAX7456
267
    //Pushing NEW chars to the MAX7456
261
#if (WRITECHARS != -1)
268
#if (WRITECHARS != -1)
262
    // DISABLE display (VM0)
269
        // DISABLE display (VM0)
263
    spi_send_byte(0x00, 0b00000000);
270
        spi_send_byte(0x00, 0b00000000);
264
    learn_all_chars_pgm();
271
    learn_all_chars_pgm();
265
#else
272
#else
266
        // read out config for NTSC/PAL distinguishing
273
        // read out config for NTSC/PAL distinguishing
267
        get_eeprom(0);
274
        get_eeprom(0);
268
#endif
275
#endif