Subversion Repositories FlightCtrl

Rev

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

Rev 929 Rev 978
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
 {
-
 
30
  static unsigned char MaxMenue = 11,MenuePunkt=255;
Line 30... Line 31...
30
  static unsigned char MaxMenue = 11,MenuePunkt=0;
31
  if(MenuePunkt == 255) {if(eeprom_read_byte(&EEPromArray[EEPROM_ADR_ACC_NICK]) != 255) MenuePunkt = 0; else MenuePunkt = 5;}
31
 
32
 
32
  if(RemoteTasten & KEY1) { if(MenuePunkt) MenuePunkt--; else MenuePunkt = MaxMenue; LcdClear(); RemotePollDisplayLine = -1; }
33
  if(RemoteTasten & KEY1) { if(MenuePunkt) MenuePunkt--; else MenuePunkt = MaxMenue; LcdClear(); RemotePollDisplayLine = -1; }
33
  if(RemoteTasten & KEY2) { MenuePunkt++; LcdClear(); RemotePollDisplayLine = -1;}
34
  if(RemoteTasten & KEY2) { MenuePunkt++; LcdClear(); RemotePollDisplayLine = -1;}