Subversion Repositories FlightCtrl

Rev

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

Rev 918 Rev 927
Line 25... Line 25...
25
 for(i=0;i<80;i++) DisplayBuff[i] = ' ';
25
 for(i=0;i<80;i++) DisplayBuff[i] = ' ';
26
}
26
}
Line 27... Line 27...
27
 
27
 
28
void Menu(void)
28
void Menu(void)
29
 {
29
 {
Line 30... Line 30...
30
  static unsigned char MaxMenue = 11,MenuePunkt=5;
30
  static unsigned char MaxMenue = 11,MenuePunkt=0;
31
 
31
 
32
  if(RemoteTasten & KEY1) { if(MenuePunkt) MenuePunkt--; else MenuePunkt = MaxMenue; LcdClear(); RemotePollDisplayLine = -1; }
32
  if(RemoteTasten & KEY1) { if(MenuePunkt) MenuePunkt--; else MenuePunkt = MaxMenue; LcdClear(); RemotePollDisplayLine = -1; }
33
  if(RemoteTasten & KEY2) { MenuePunkt++; LcdClear(); RemotePollDisplayLine = -1;}
33
  if(RemoteTasten & KEY2) { MenuePunkt++; LcdClear(); RemotePollDisplayLine = -1;}