[Taranis] Code cleaning

This commit is contained in:
bsongis@gmail.com
2013-05-17 17:46:51 +00:00
parent c4d6bfbff8
commit 367ca4dfa7
4 changed files with 16 additions and 71 deletions
+8
View File
@@ -327,6 +327,14 @@ bool check(check_event_t event, uint8_t curr, const MenuFuncP *menuTab, uint8_t
#if defined(PCBTARANIS)
int8_t cc = curr;
switch(event) {
case EVT_KEY_LONG(KEY_MENU):
if (menuTab == menuTabModel) {
pushMenu(menuChannelsView);
killEvents(event);
return false;
}
break;
case EVT_KEY_LONG(KEY_PAGE):
if (curr > 0)
cc = curr - 1;