mirror of
https://github.com/opentx/opentx.git
synced 2025-07-21 15:25:17 +03:00
open9x translations
This commit is contained in:
parent
40d418c007
commit
9cdf70f9d8
16 changed files with 903 additions and 282 deletions
|
@ -33,17 +33,11 @@ uint8_t s_noScroll;
|
|||
|
||||
int16_t g_chans512[NUM_CHNOUT]; // TODO not here!
|
||||
|
||||
// TODO does it save flash now?
|
||||
void menu_lcd_onoff( uint8_t x,uint8_t y, uint8_t value, uint8_t mode )
|
||||
{
|
||||
lcd_putsnAtt(x, y, STR_OFFON+LEN_OFFON*value, LEN_OFFON, mode ? INVERS:0) ;
|
||||
}
|
||||
|
||||
void menu_lcd_HYPHINV( uint8_t x,uint8_t y, uint8_t value, uint8_t mode )
|
||||
{
|
||||
lcd_putsnAtt( x, y, STR_MMMINV+LEN_MMMINV*value, LEN_MMMINV, mode ? INVERS:0) ;
|
||||
}
|
||||
|
||||
void DisplayScreenIndex(uint8_t index, uint8_t count, uint8_t attr)
|
||||
{
|
||||
lcd_outdezAtt(128,0,count,attr);
|
||||
|
@ -392,7 +386,7 @@ void popMenu()
|
|||
(*g_menuStack[g_menuStackPtr])(EVT_ENTRY_UP);
|
||||
}
|
||||
else {
|
||||
alert(PSTR("menuStack underflow"));
|
||||
alert(STR_MENUSERROR);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -411,7 +405,7 @@ void pushMenu(MenuFuncP newMenu)
|
|||
if(g_menuStackPtr >= DIM(g_menuStack))
|
||||
{
|
||||
g_menuStackPtr--;
|
||||
alert(PSTR("menuStack overflow"));
|
||||
alert(STR_MENUSERROR);
|
||||
return;
|
||||
}
|
||||
beepKey();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue