Subversion Repositories FlightCtrl

Rev

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

Rev 936 Rev 938
Line 52... Line 52...
52
/************************************/
52
/************************************/
53
// Display with 20 characters in 4 lines
53
// Display with 20 characters in 4 lines
54
void LCD_PrintMenu(void)
54
void LCD_PrintMenu(void)
55
{
55
{
Line 56... Line 56...
56
 
56
 
57
  #if !defined (USE_MK3MAG) & !defined (USE_MK3MAG)
57
  #if (!defined (USE_KILLAGREG) && !defined (USE_MK3MAG))
58
  static uint8_t MaxMenuItem = 11;
58
  static uint8_t MaxMenuItem = 11;
59
  #else
59
  #else
60
  #ifdef USE_MK3MAG
60
  #ifdef USE_MK3MAG
61
  static uint8_t MaxMenuItem = 12;
61
  static uint8_t MaxMenuItem = 12;
Line 194... Line 194...
194
           LCD_printfxy(0,1,"Ni:%4i  Ro:%4i ",ExternControl.Nick, ExternControl.Roll);
194
           LCD_printfxy(0,1,"Ni:%4i  Ro:%4i ",ExternControl.Nick, ExternControl.Roll);
195
           LCD_printfxy(0,2,"Gs:%4i  Ya:%4i ",ExternControl.Gas, ExternControl.Yaw);
195
           LCD_printfxy(0,2,"Gs:%4i  Ya:%4i ",ExternControl.Gas, ExternControl.Yaw);
196
           LCD_printfxy(0,3,"Hi:%4i  Cf:%4i ",ExternControl.Height, ExternControl.Config);
196
           LCD_printfxy(0,3,"Hi:%4i  Cf:%4i ",ExternControl.Height, ExternControl.Config);
197
           break;
197
           break;
Line 198... Line 198...
198
 
198
 
199
    #if defined (USE_KILLAGREG) || defined (USE_MK3MAG)
199
    #if (defined (USE_KILLAGREG) || defined (USE_MK3MAG))
200
        case 12://GPS Lat/Lon coords
200
        case 12://GPS Lat/Lon coords
201
                        if (GPSInfo.status == INVALID)
201
                        if (GPSInfo.status == INVALID)
202
                        {
202
                        {
203
                                LCD_printfxy(0,0,"No GPS data!");
203
                                LCD_printfxy(0,0,"No GPS data!");