Subversion Repositories FlightCtrl

Rev

Rev 2386 | Rev 2390 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2386 Rev 2388
Line 130... Line 130...
130
 "No SD-Card      \0",  // 26
130
 "No SD-Card      \0",  // 26
131
 "SD-Logging error\0",  // 27
131
 "SD-Logging error\0",  // 27
132
 "Flying range!   \0",  // 28
132
 "Flying range!   \0",  // 28
133
 "Max Altitude!   \0",  // 29
133
 "Max Altitude!   \0",  // 29
134
 "No GPS fix      \0",  // 30
134
 "No GPS fix      \0",  // 30
135
 "compass not cal.\0"  // 31
135
 "compass not cal.\0",  // 31
-
 
136
 "BL-Selftest     \0"   // 32
136
};
137
};
Line 137... Line 138...
137
 
138
 
138
 
139
 
Line 167... Line 168...
167
         {SPEAK_MAX_RANGE,1},// "GPS Range       \0",  // 25
168
         {SPEAK_MAX_RANGE,1},   // "GPS Range       \0",  // 25
168
         {SPEAK_ERROR,1},// "No SD-Card      \0",  // 26
169
         {SPEAK_ERROR,1},               // "No SD-Card      \0",  // 26
169
         {SPEAK_ERROR,1},// "SD-Logging error\0",  // 27
170
         {SPEAK_ERROR,1},               // "SD-Logging error\0",  // 27
170
         {SPEAK_MAX_RANGE,1},// "Flying range!   \0",   // 28
171
         {SPEAK_MAX_RANGE,1},   // "Flying range!   \0",  // 28
171
         {SPEAK_MAX_ALTITUD,1},// "Max Altitude!   \0"   // 29
172
         {SPEAK_MAX_ALTITUD,1}, // "Max Altitude!   \0"   // 29
172
         {SPEAK_GPS_FIX,1}// "no GPS Fix,  // 30
173
         {SPEAK_GPS_FIX,1},             // "No GPS fix      \0"   // 30
-
 
174
         {SPEAK_ERR_CALIBARTION,0},// "compass not cal." // 31
-
 
175
         {SPEAK_ERR_MOTOR,0}    // "BL-Selftest     \0"   // 32
173
};
176
};
Line 174... Line 177...
174
 
177
 
175
 
178
 
Line 206... Line 209...
206
  static int repeat;
209
  static int repeat;
207
//if(Parameter_UserParam1) return(Parameter_UserParam1); 
210
//if(Parameter_UserParam1) return(Parameter_UserParam1); 
208
  ToNC_SpeakHoTT = SpeakHoTT;
211
  ToNC_SpeakHoTT = SpeakHoTT;
209
  if(FC_StatusFlags & FC_STATUS_LOWBAT) status = VOICE_MINIMALE_EINGANSSPANNUNG;
212
  if(FC_StatusFlags & FC_STATUS_LOWBAT) status = VOICE_MINIMALE_EINGANSSPANNUNG;
210
  else
213
  else
211
  if(NC_ErrorCode)      // Fehlercodes
214
  if(NC_ErrorCode && NC_ErrorCode+1 < MAX_ERR_NUMBER)   // Fehlercodes
212
   {
215
   {
213
    if(MotorenEin || !pgm_read_byte(&HOTT_ERROR[NC_ErrorCode][1])) status = pgm_read_byte(&HOTT_ERROR[NC_ErrorCode][0]);
216
    if(MotorenEin || !pgm_read_byte(&HOTT_ERROR[NC_ErrorCode][1])) status = pgm_read_byte(&HOTT_ERROR[NC_ErrorCode][0]);
214
   }
217
   }
215
  if(!status)    // Sprachansagen
218
  if(!status)    // Sprachansagen
216
   {
219
   {
Line 338... Line 341...
338
         {
341
         {
339
                VarioPacket.Text[0] = NC_ErrorCode/10 + '0';
342
                VarioPacket.Text[0] = NC_ErrorCode/10 + '0';
340
                VarioPacket.Text[1] = NC_ErrorCode%10 + '0';
343
                VarioPacket.Text[1] = NC_ErrorCode%10 + '0';
341
                VarioPacket.Text[2] = ':';
344
                VarioPacket.Text[2] = ':';
342
                for(i=0; i<16;i++) VarioPacket.Text[i+3] = pgm_read_byte(&NC_ERROR_TEXT[NC_ErrorCode][i]);
345
                for(i=0; i<16;i++) VarioPacket.Text[i+3] = pgm_read_byte(&NC_ERROR_TEXT[NC_ErrorCode][i]);
-
 
346
                VarioPacket.Text[19] = ' ';
-
 
347
                VarioPacket.Text[20] = ' ';
343
         }
348
         }
344
         else
349
         else
345
         if(FC_StatusFlags & FC_STATUS_LOWBAT) for(i=0; i<21;i++) VarioPacket.Text[i] = pgm_read_byte(&UNDERVOLTAGE[i]); // no Error
350
         if(FC_StatusFlags & FC_STATUS_LOWBAT) for(i=0; i<21;i++) VarioPacket.Text[i] = pgm_read_byte(&UNDERVOLTAGE[i]); // no Error
346
         else
351
         else
347
         if(ShowSettingNameTime) // no Error
352
         if(ShowSettingNameTime) // no Error