Rev 2545 | Rev 2561 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2545 | Rev 2554 | ||
---|---|---|---|
Line 580... | Line 580... | ||
580 | } |
580 | } |
Line 581... | Line 581... | ||
581 | 581 | ||
582 | //--------------------------------------------------------------- |
582 | //--------------------------------------------------------------- |
583 | void HoTT_Menu(void) |
583 | void HoTT_Menu(void) |
584 | { |
584 | { |
585 | static unsigned char line, page = 0,show_current = 0,show_mag = 0, show_poti = 0; |
585 | static unsigned char line, page = 0,show_current = 0,show_mag = 0, show_poti = 0,hyterese = 1; |
586 | unsigned char tmp; |
586 | unsigned char tmp; |
Line 587... | Line 587... | ||
587 | HoTTVarioMeter = (HoTTVarioMeter * 7 + VarioMeter) / 8; |
587 | HoTTVarioMeter = (HoTTVarioMeter * 7 + VarioMeter) / 8; |
Line 1063... | Line 1063... | ||
1063 | if(HottKeyboard == HOTT_KEY_UP && wp_tmp < NaviData_MaxWpListIndex) { changed = 1; wp_tmp++; HoTTBlink = 0;} |
1063 | if(HottKeyboard == HOTT_KEY_UP && wp_tmp < NaviData_MaxWpListIndex) { changed = 1; wp_tmp++; HoTTBlink = 0;} |
1064 | if(HottKeyboard == HOTT_KEY_DOWN && wp_tmp > 1) { changed = 1; wp_tmp--; HoTTBlink = 0;}; |
1064 | if(HottKeyboard == HOTT_KEY_DOWN && wp_tmp > 1) { changed = 1; wp_tmp--; HoTTBlink = 0;}; |
1065 | if(HottKeyboard == HOTT_KEY_LEFT) { LIBFC_HoTT_Clear(); page++; line = 0;} |
1065 | if(HottKeyboard == HOTT_KEY_LEFT) { LIBFC_HoTT_Clear(); page++; line = 0;} |
1066 | if(HottKeyboard == HOTT_KEY_RIGHT) { LIBFC_HoTT_Clear(); page--; line = 0;}; |
1066 | if(HottKeyboard == HOTT_KEY_RIGHT) { LIBFC_HoTT_Clear(); page--; line = 0;}; |
1067 | HottKeyboard = 0; |
1067 | HottKeyboard = 0; |
- | 1068 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
|
- | 1069 | // Bedienung per Taster am Sender |
|
- | 1070 | if(Parameter_UserParam5 > 120 && !hyterese) // |
|
- | 1071 | { |
|
- | 1072 | hyterese = 1; |
|
- | 1073 | if(wp_tmp < NaviData_MaxWpListIndex) |
|
- | 1074 | { |
|
- | 1075 | wp_tmp++; |
|
- | 1076 | ToNC_Store_SingePoint = wp_tmp; |
|
- | 1077 | changed = 0; |
|
- | 1078 | } |
|
- | 1079 | } |
|
- | 1080 | else |
|
- | 1081 | if(Parameter_UserParam5 < 100) |
|
- | 1082 | { |
|
- | 1083 | hyterese = 0; |
|
- | 1084 | } |
|
- | 1085 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
|
1068 | break; |
1086 | break; |
1069 | default: line = 0; |
1087 | default: line = 0; |
1070 | break; |
1088 | break; |
1071 | } |
1089 | } |
1072 | break; |
1090 | break; |
Line 1124... | Line 1142... | ||
1124 | if(HottKeyboard == HOTT_KEY_DOWN && wp_tmp > 1) { changed = 1; wp_tmp--; HoTTBlink = 0;}; |
1142 | if(HottKeyboard == HOTT_KEY_DOWN && wp_tmp > 1) { changed = 1; wp_tmp--; HoTTBlink = 0;}; |
1125 | if(HottKeyboard == HOTT_KEY_SET) { if(wp_tmp) ToNC_Load_SingePoint = wp_tmp; changed = 0;} |
1143 | if(HottKeyboard == HOTT_KEY_SET) { if(wp_tmp) ToNC_Load_SingePoint = wp_tmp; changed = 0;} |
1126 | if(HottKeyboard == HOTT_KEY_LEFT) { LIBFC_HoTT_Clear(); page++; line = 0;} |
1144 | if(HottKeyboard == HOTT_KEY_LEFT) { LIBFC_HoTT_Clear(); page++; line = 0;} |
1127 | if(HottKeyboard == HOTT_KEY_RIGHT) { LIBFC_HoTT_Clear(); page--; line = 0;}; |
1145 | if(HottKeyboard == HOTT_KEY_RIGHT) { LIBFC_HoTT_Clear(); page--; line = 0;}; |
1128 | HottKeyboard = 0; |
1146 | HottKeyboard = 0; |
- | 1147 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
|
- | 1148 | // Bedienung per Taster am Sender |
|
- | 1149 | if(Parameter_UserParam5 > 120 && !hyterese) // |
|
- | 1150 | { |
|
- | 1151 | hyterese = 1; |
|
- | 1152 | if(wp_tmp < NaviData_MaxWpListIndex) |
|
- | 1153 | { |
|
- | 1154 | wp_tmp++; |
|
- | 1155 | ToNC_Load_SingePoint = wp_tmp; |
|
- | 1156 | changed = 0; |
|
- | 1157 | } |
|
- | 1158 | } |
|
- | 1159 | else |
|
- | 1160 | if(Parameter_UserParam5 < 100) |
|
- | 1161 | { |
|
- | 1162 | hyterese = 0; |
|
- | 1163 | } |
|
- | 1164 | // +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |
|
- | 1165 | ||
1129 | break; |
1166 | break; |
1130 | default: line = 0; |
1167 | default: line = 0; |
1131 | break; |
1168 | break; |
1132 | } |
1169 | } |
1133 | break; |
1170 | break; |