Rev 2407 | Rev 2418 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 2407 | Rev 2408 | ||
---|---|---|---|
Line 132... | Line 132... | ||
132 | "SD-Logging error\0", // 27 |
132 | "SD-Logging error\0", // 27 |
133 | "Flying range! \0", // 28 |
133 | "Flying range! \0", // 28 |
134 | "Max Altitude! \0", // 29 |
134 | "Max Altitude! \0", // 29 |
135 | "No GPS fix \0", // 30 |
135 | "No GPS fix \0", // 30 |
136 | "compass not cal.\0", // 31 |
136 | "compass not cal.\0", // 31 |
137 | "BL-Selftest \0" // 32 |
137 | "BL-Selftest \0", // 32 |
- | 138 | "no ext. compass \0", // 33 |
|
- | 139 | "compass sensor \0" // 34 |
|
138 | }; |
140 | }; |
Line 139... | Line 141... | ||
139 | 141 | ||
140 | 142 | ||
Line 171... | Line 173... | ||
171 | {SPEAK_ERROR,1}, // "SD-Logging error\0", // 27 |
173 | {SPEAK_ERROR,1}, // "SD-Logging error\0", // 27 |
172 | {SPEAK_MAX_RANGE,1}, // "Flying range! \0", // 28 |
174 | {SPEAK_MAX_RANGE,1}, // "Flying range! \0", // 28 |
173 | {SPEAK_MAX_ALTITUD,1}, // "Max Altitude! \0" // 29 |
175 | {SPEAK_MAX_ALTITUD,1}, // "Max Altitude! \0" // 29 |
174 | {SPEAK_GPS_FIX,1}, // "No GPS fix \0" // 30 |
176 | {SPEAK_GPS_FIX,1}, // "No GPS fix \0" // 30 |
175 | {SPEAK_ERR_CALIBARTION,0},// "compass not cal." // 31 |
177 | {SPEAK_ERR_CALIBARTION,0},// "compass not cal." // 31 |
176 | {SPEAK_ERR_MOTOR,0} // "BL-Selftest \0" // 32 |
178 | {SPEAK_ERR_MOTOR,0}, // "BL-Selftest \0" // 32 |
- | 179 | {SPEAK_ERR_COMPASS,0}, // "no ext. compass" // 33 |
|
- | 180 | {SPEAK_ERR_COMPASS,0} // "compass sensor" // 34 |
|
177 | }; |
181 | }; |
Line 178... | Line 182... | ||
178 | 182 | ||
179 | 183 | ||
Line 212... | Line 216... | ||
212 | ToNC_SpeakHoTT = SpeakHoTT; |
216 | ToNC_SpeakHoTT = SpeakHoTT; |
213 | if(FC_StatusFlags & FC_STATUS_LOWBAT) |
217 | if(FC_StatusFlags & FC_STATUS_LOWBAT) |
214 | { |
218 | { |
215 | if(LowVoltageLandingActive && (EE_Parameter.Receiver == RECEIVER_HOTT)) status = SPEAK_LANDING; |
219 | if(LowVoltageLandingActive && (EE_Parameter.Receiver == RECEIVER_HOTT)) status = SPEAK_LANDING; |
216 | else status = VOICE_MINIMALE_EINGANSSPANNUNG; // Jeti hat kein wort: "LANDEN" |
220 | else status = VOICE_MINIMALE_EINGANSSPANNUNG; // Jeti hat kein wort: "LANDEN" |
- | 221 | if(SpeakHoTT && old_status == VOICE_MINIMALE_EINGANSSPANNUNG) status = SpeakHoTT; // das soll auch noch durch kommen |
|
217 | } |
222 | } |
218 | else |
223 | else |
219 | if(NC_ErrorCode && NC_ErrorCode+1 < MAX_ERR_NUMBER) // Fehlercodes |
224 | if(NC_ErrorCode && NC_ErrorCode < MAX_ERR_NUMBER) // Fehlercodes |
220 | { |
225 | { |
221 | if(MotorenEin || !pgm_read_byte(&HOTT_ERROR[NC_ErrorCode][1])) status = pgm_read_byte(&HOTT_ERROR[NC_ErrorCode][0]); |
226 | if(MotorenEin || !pgm_read_byte(&HOTT_ERROR[NC_ErrorCode][1])) status = pgm_read_byte(&HOTT_ERROR[NC_ErrorCode][0]); |
222 | } |
227 | } |
223 | if(!status) // Sprachansagen |
228 | if(!status) // Sprachansagen |
224 | { |
229 | { |