Subversion Repositories FlightCtrl

Compare Revisions

Ignore whitespace Rev 903 → Rev 909

/branches/V0.69k CRK HexaLotte/menu.c
17,6 → 17,8
#include "analog.h"
#ifdef USE_KILLAGREG
#include "mm3.h"
#endif
#if defined (USE_KILLAGREG) || defined (USE_MK3MAG)
#include "ubx.h"
#endif
#include "_Settings.h"
50,12 → 52,18
/************************************/
// Display with 20 characters in 4 lines
void LCD_PrintMenu(void)
{
{
 
#if !defined (USE_MK3MAG) & !defined (USE_MK3MAG)
static uint8_t MaxMenuItem = 11;
#else
#ifdef USE_MK3MAG
static uint8_t MaxMenuItem = 12;
#endif
#ifdef USE_KILLAGREG
static uint8_t MaxMenuItem = 14;
#else
static uint8_t MaxMenuItem = 11;
#endif
#endif
static uint8_t MenuItem=0;
 
// if KEY1 is activated goto previous menu item
179,7 → 187,7
LCD_printfxy(0,3,"Hi:%4i Cf:%4i ",ExternControl.Height, ExternControl.Config);
break;
 
#ifdef USE_KILLAGREG
#if defined (USE_KILLAGREG) || defined (USE_MK3MAG)
case 12://GPS Lat/Lon coords
if (GPSInfo.status == INVALID)
{
216,6 → 224,8
LCD_printfxy(0,3,"Alt: %d.%.3d m",i1, i2);
}
break;
#endif
#ifdef USE_KILLAGREG
case 13:// MM3 Kompass
LCD_printfxy(0,0,"MM3 Offset");
LCD_printfxy(0,1,"X_Offset: %3i",MM3_calib.X_off);