Subversion Repositories FlightCtrl

Rev

Rev 912 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 912 Rev 947
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_MK3MAG) & !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 185... Line 185...
185
           LCD_printfxy(0,1,"Ni:%4i  Ro:%4i ",ExternControl.Nick, ExternControl.Roll);
185
           LCD_printfxy(0,1,"Ni:%4i  Ro:%4i ",ExternControl.Nick, ExternControl.Roll);
186
           LCD_printfxy(0,2,"Gs:%4i  Ya:%4i ",ExternControl.Gas, ExternControl.Yaw);
186
           LCD_printfxy(0,2,"Gs:%4i  Ya:%4i ",ExternControl.Gas, ExternControl.Yaw);
187
           LCD_printfxy(0,3,"Hi:%4i  Cf:%4i ",ExternControl.Height, ExternControl.Config);
187
           LCD_printfxy(0,3,"Hi:%4i  Cf:%4i ",ExternControl.Height, ExternControl.Config);
188
           break;
188
           break;
Line 189... Line 189...
189
 
189
 
190
    #if defined (USE_KILLAGREG) || defined (USE_MK3MAG)
190
    #if defined ((USE_KILLAGREG) || defined (USE_MK3MAG))
191
        case 12://GPS Lat/Lon coords
191
        case 12://GPS Lat/Lon coords
192
                        if (GPSInfo.status == INVALID)
192
                        if (GPSInfo.status == INVALID)
193
                        {
193
                        {
194
                                LCD_printfxy(0,0,"No GPS data!");
194
                                LCD_printfxy(0,0,"No GPS data!");