Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
1920 | - | 1 | /***************************************************************************** |
2 | * Copyright (C) 2008 Thomas Kaiser, thomas@ft-fanpage.de * |
||
3 | * Copyright (C) 2009 Peter "woggle" Mack, mac@denich.net * |
||
4 | * Copyright (C) 2011 Christian "Cebra" Brandtner, brandtner@brandtner.net * |
||
5 | * Copyright (C) 2011 Harald Bongartz * |
||
6 | * * |
||
7 | * This program is free software; you can redistribute it and/or modify * |
||
8 | * it under the terms of the GNU General Public License as published by * |
||
9 | * the Free Software Foundation; either version 2 of the License. * |
||
10 | * * |
||
11 | * This program is distributed in the hope that it will be useful, * |
||
12 | * but WITHOUT ANY WARRANTY; without even the implied warranty of * |
||
13 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * |
||
14 | * GNU General Public License for more details. * |
||
15 | * * |
||
16 | * You should have received a copy of the GNU General Public License * |
||
17 | * along with this program; if not, write to the * |
||
18 | * Free Software Foundation, Inc., * |
||
19 | * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * |
||
20 | * * |
||
21 | * * |
||
22 | * Credits to: * |
||
23 | * Holger Buss & Ingo Busker from mikrokopter.de for the MK project + SVN * |
||
24 | * http://www.mikrokopter.de * |
||
25 | * Gregor "killagreg" Stobrawa for his version of the MK code * |
||
26 | * Thomas Kaiser "thkais" for the original project. See * |
||
27 | * http://www.ft-fanpage.de/mikrokopter/ * |
||
28 | * http://forum.mikrokopter.de/topic-4061-1.html * |
||
29 | * Claas Anders "CaScAdE" Rathje for providing the font and his C-OSD code * |
||
30 | * http://www.mylifesucks.de/oss/c-osd/ * |
||
31 | * Harald Bongartz "HaraldB" for providing his Ideas and Code for usibility* |
||
32 | *****************************************************************************/ |
||
33 | |||
34 | |||
35 | #ifndef _setup_H |
||
36 | #define _setup_H |
||
37 | |||
38 | |||
39 | typedef enum //Varianten für die Anzeige der Werte im Setupmenü |
||
40 | { |
||
41 | Show_uint3,Show_uint5,Show_uint10th,GPSMOUSE,Wi_Netmode,OnOff,YesNo,Orientation,NormRev,Kontrast,Baudrate,Language,Sticktype, |
||
42 | } EditMode; |
||
43 | |||
44 | |||
45 | |||
46 | |||
47 | |||
48 | |||
49 | void PKT_Setup (void); |
||
50 | void Display_Setup (void); |
||
51 | void Wi_Use (void); |
||
52 | void Wi_Setup (void); |
||
53 | void BT_Use (void); |
||
54 | void BT_Setup (void); |
||
55 | void Show_Error_HW12(void); |
||
56 | void Accu_Setup (void); |
||
57 | void BT_SelectDevice (void); |
||
58 | void GPS_Setup (void); |
||
59 | void OSD_Setup (void); |
||
60 | void FollowMe_Setup (void); |
||
61 | |||
62 | uint8_t Edit_Language(uint8_t Value, uint8_t min, uint8_t max,uint8_t Text); |
||
63 | uint16_t Edit_generic(uint16_t Value, uint16_t min, uint16_t max,uint8_t Text, uint8_t what); |
||
64 | |||
65 | extern uint8_t bt_name_len; |
||
66 | extern uint8_t length_tmp; |
||
67 | extern uint8_t Old_Baudrate; //Merkzelle für alte Baudrate |
||
68 | extern uint8_t edit; |
||
69 | extern uint8_t CheckGPS; |
||
70 | #endif |