Rev 1053 | Rev 1072 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1053 | Rev 1060 | ||
---|---|---|---|
Line 32... | Line 32... | ||
32 | { |
32 | { |
Line 33... | Line 33... | ||
33 | 33 | ||
Line 34... | Line 34... | ||
34 | if(MenuePunkt > MaxMenue) MenuePunkt = MaxMenue; |
34 | if(MenuePunkt > MaxMenue) MenuePunkt = MaxMenue; |
35 | 35 | ||
36 | if(RemoteKeys & KEY1) { if(MenuePunkt) MenuePunkt--; else MenuePunkt = MaxMenue;} |
36 | if(RemoteKeys & KEY1) { if(MenuePunkt) MenuePunkt--; else MenuePunkt = MaxMenue;} |
37 | if(RemoteKeys & KEY2) { MenuePunkt++;} |
37 | if(RemoteKeys & KEY2) { if(MenuePunkt == MaxMenue) MenuePunkt = 0; else MenuePunkt++;} |
38 | if((RemoteKeys & KEY1) && (RemoteKeys & KEY2)) MenuePunkt = 0; |
38 | if((RemoteKeys & KEY1) && (RemoteKeys & KEY2)) MenuePunkt = 0; |
39 | LcdClear(); |
39 | LcdClear(); |