Subversion Repositories FlightCtrl

Rev

Rev 2575 | Rev 2608 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 2575 Rev 2599
Line 313... Line 313...
313
  if(status)
313
  if(status)
314
   {
314
   {
315
    if(status == SpeakHoTT) SpeakHoTT = 0;
315
    if(status == SpeakHoTT) SpeakHoTT = 0;
316
   }   
316
   }   
317
  old_status = status;
317
  old_status = status;
318
//  DebugOut.Analog[16] = status;
-
 
319
  return(status);
318
  return(status);
320
}
319
}
Line 321... Line 320...
321
 
320
 
322
//---------------------------------------------------------------
321
//---------------------------------------------------------------
Line 607... Line 606...
607
 
606
 
608
//---------------------------------------------------------------
607
//---------------------------------------------------------------
609
void HoTT_Menu(void)
608
void HoTT_Menu(void)
610
{
609
{
611
 static unsigned char line, page = 0,show_current = 0,show_mag = 0, show_poti = 0,hyterese = 1;
-
 
612
 unsigned char tmp;
610
 static unsigned char line, page = 0,show_current = 0,show_mag = 0, show_poti = 0,hyterese = 1;
613
 HoTTVarioMeter = (HoTTVarioMeter * 7 + VarioMeter) / 8;
611
 HoTTVarioMeter = (HoTTVarioMeter * 7 + VarioMeter) / 8;
Line 614... Line 612...
614
 static int delay;
612
 static int delay;
Line 888... Line 886...
888
                        break;
886
                        break;
889
    case 4: HoTT_printfxy(0,4,"GPS:");
887
    case 4: HoTT_printfxy(0,4,"GPS:");
890
                    if(!(Parameter_GlobalConfig & CFG_GPS_AKTIV)) HoTT_printf("DISABLED")
888
                    if(!(Parameter_GlobalConfig & CFG_GPS_AKTIV)) HoTT_printf("DISABLED")
891
                        else
889
                        else
892
                         {
890
                         {
893
                          tmp = GetChannelValue(EE_Parameter.NaviGpsModeChannel);
-
 
894
                          if(tmp < 50) HoTT_printf("(FREE)")
891
                          if(Parameter_GPS_Switch < 50) HoTT_printf("(FREE)")
895
                          else
892
                          else
896
                          if(tmp >= 180) HoTT_printf("(HOME)")
893
                          if(Parameter_GPS_Switch >= 180) HoTT_printf("(HOME)")
897
                          else
894
                          else
898
                          if(EE_Parameter.ExtraConfig & CFG_GPS_AID) HoTT_printf("(AID) ")
895
                          if(EE_Parameter.ExtraConfig & CFG_GPS_AID) HoTT_printf("(AID) ")
899
                          else HoTT_printf("(HOLD)")
896
                          else HoTT_printf("(HOLD)")
900
                         }
897
                         }
901
                        if(EE_Parameter.FailSafeTime) HoTT_printfxy(10,4," FS:%usek ",EE_Parameter.FailSafeTime)
898
                        if(EE_Parameter.FailSafeTime) HoTT_printfxy(10,4," FS:%usek ",EE_Parameter.FailSafeTime)