Rev 474 | Rev 728 | Go to most recent revision | Details | Compare with Previous | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
471 | cascade | 1 | /**************************************************************************** |
2 | * Copyright (C) 2009 by Claas Anders "CaScAdE" Rathje * |
||
3 | * admiralcascade@gmail.com * |
||
4 | * Project-URL: http://www.mylifesucks.de/oss/c-osd/ * |
||
5 | * * |
||
6 | * This program is free software; you can redistribute it and/or modify * |
||
7 | * it under the terms of the GNU General Public License as published by * |
||
8 | * the Free Software Foundation; either version 2 of the License. * |
||
9 | * * |
||
10 | * This program is distributed in the hope that it will be useful, * |
||
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * |
||
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
||
13 | * GNU General Public License for more details. * |
||
14 | * * |
||
15 | * You should have received a copy of the GNU General Public License * |
||
16 | * along with this program; if not, write to the * |
||
17 | * Free Software Foundation, Inc., * |
||
18 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
||
19 | ****************************************************************************/ |
||
20 | |||
21 | #define CHECKBYTE1 23 |
||
523 | cascade | 22 | #define CHECKBYTE2 5 |
471 | cascade | 23 | |
523 | cascade | 24 | extern uint8_t COSD_FLAGS_MODES, COSD_FLAGS_CONFIG, COSD_FLAGS_RUNTIME, COSD_DISPLAYMODE; |
471 | cascade | 25 | extern uint8_t min_voltage; |
26 | extern uint8_t max_voltage; |
||
474 | cascade | 27 | extern uint8_t bottom_line; |
471 | cascade | 28 | |
29 | extern volatile uint16_t uptime; |
||
30 | |||
474 | cascade | 31 | /** |
32 | * read data saved in eeprom, print out message if <verbose> is set |
||
33 | */ |
||
471 | cascade | 34 | void init_cosd(uint8_t); |
474 | cascade | 35 | |
36 | /** |
||
37 | * a simple config menu tryout |
||
38 | */ |
||
471 | cascade | 39 | void config_menu(void); |
40 | |||
474 | cascade | 41 | /** |
42 | * read data saved in eeprom, print out message if <verbose> is set |
||
43 | */ |
||
44 | void get_eeprom(uint8_t); |
||
471 | cascade | 45 |