open9x translations
This commit is contained in:
+2
-8
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user