1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-20 14:55:13 +03:00

Another 100bytes flash saved + 16bytes RAM in LIMITS menu.

This commit is contained in:
bsongis 2012-02-17 18:12:01 +00:00
parent a5fef987df
commit 26f1a5706b
3 changed files with 35 additions and 23 deletions

View file

@ -464,3 +464,20 @@ void pushMenu(MenuFuncP newMenu)
g_menuStack[g_menuStackPtr] = newMenu;
(*newMenu)(EVT_ENTRY);
}
#ifdef NAVIGATION_RE1
void * s_inflight_value;
int16_t s_inflight_min;
int16_t s_inflight_max;
const pm_char *s_inflight_label
uint8_t s_inflight_flags;
void checkInflightIncDec(void *value, int16_t i_min, int16_t i_max, const pm_char *label, uint8_t flags)
{
s_inflight_value = value;
s_inflight_min = i_min;
s_inflight_max = i_max;
s_inflight_label = label;
s_inflight_flags = flags;
}
#endif