Rev 2425 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2425 | Rev 2426 | ||
---|---|---|---|
Line 54... | Line 54... | ||
54 | #include "printf_P.h" |
54 | #include "printf_P.h" |
55 | #include "main.h" |
55 | #include "main.h" |
56 | #include "spi.h" |
56 | #include "spi.h" |
57 | #include "capacity.h" |
57 | #include "capacity.h" |
Line -... | Line 58... | ||
- | 58 | ||
- | 59 | unsigned char NaviData_WaypointIndex = 0; |
|
- | 60 | unsigned char NaviData_WaypointNumber = 0, NaviData_TargetHoldTime = 0, ToNC_Load_WP_List = 0, NaviData_MaxWpListIndex = 0; |
|
58 | 61 | char WPL_Name[10];// = {" \0"}; |
|
Line 59... | Line 62... | ||
59 | #if (defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__)) |
62 | #if (defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__)) |
60 | 63 | ||
61 | #define HoTT_printf(format, args...) { _printf_P(&LIBFC_HoTT_Putchar, PSTR(format) , ## args);} |
64 | #define HoTT_printf(format, args...) { _printf_P(&LIBFC_HoTT_Putchar, PSTR(format) , ## args);} |
Line 78... | Line 81... | ||
78 | #define HOTT_KEY_UP 4 |
81 | #define HOTT_KEY_UP 4 |
79 | #define HOTT_KEY_SET 6 |
82 | #define HOTT_KEY_SET 6 |
80 | #define HOTT_KEY_LEFT 8 |
83 | #define HOTT_KEY_LEFT 8 |
Line 81... | Line 84... | ||
81 | 84 | ||
82 | #define VARIO_ZERO 30000 |
- | |
83 | unsigned char NaviData_WaypointIndex = 0, NaviData_WaypointNumber = 0, NaviData_TargetHoldTime = 0, ToNC_Load_WP_List = 0, NaviData_MaxWpListIndex = 0; |
85 | #define VARIO_ZERO 30000 |
Line 84... | Line 86... | ||
84 | unsigned int NaviData_TargetDistance = 0; |
86 | unsigned int NaviData_TargetDistance = 0; |
85 | 87 | ||
86 | unsigned char MaxBlTemperture = 0; |
88 | unsigned char MaxBlTemperture = 0; |
Line 93... | Line 95... | ||
93 | ElectricAirPacket_t ElectricAirPacket; |
95 | ElectricAirPacket_t ElectricAirPacket; |
94 | HoTTGeneral_t HoTTGeneral; |
96 | HoTTGeneral_t HoTTGeneral; |
95 | unsigned char SpeakHoTT = SPEAK_MIKROKOPTER; |
97 | unsigned char SpeakHoTT = SPEAK_MIKROKOPTER; |
96 | unsigned char ToNC_SpeakHoTT = 0, ShowSettingNameTime = 0; |
98 | unsigned char ToNC_SpeakHoTT = 0, ShowSettingNameTime = 0; |
97 | int HoTTVarioMeter = 0; |
99 | int HoTTVarioMeter = 0; |
98 | char WPL_Name[10];// = {" \0"}; |
- | |
99 | const char PROGMEM MIKROKOPTER[] = {" MikroKopter "}; |
100 | const char PROGMEM MIKROKOPTER[] = {" MikroKopter "}; |
100 | const char PROGMEM UNDERVOLTAGE[] = {" !! LiPo voltage !! "}; |
101 | const char PROGMEM UNDERVOLTAGE[] = {" !! LiPo voltage !! "}; |
101 | const char PROGMEM LANDING[] = {" !! LANDING !! "}; |
102 | const char PROGMEM LANDING[] = {" !! LANDING !! "}; |
102 | const char PROGMEM SETTING[] = {"Set :"}; |
103 | const char PROGMEM SETTING[] = {"Set :"}; |
103 | const char PROGMEM NC_ERROR_TEXT[MAX_ERR_NUMBER][17] = |
104 | const char PROGMEM NC_ERROR_TEXT[MAX_ERR_NUMBER][17] = |