mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 00:41:17 +02:00
- simple-display: simplify initialization of has_lcd
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -105,17 +105,9 @@ static void replace_umlauts(std::string &s)
|
|||||||
CLCD::CLCD()
|
CLCD::CLCD()
|
||||||
{
|
{
|
||||||
/* do not show menu in neutrino...,at Line Display true, because there is th GLCD Menu */
|
/* do not show menu in neutrino...,at Line Display true, because there is th GLCD Menu */
|
||||||
if (
|
if (g_info.hw_caps->display_type == HW_DISPLAY_LINE_TEXT)
|
||||||
g_info.hw_caps->display_type == HW_DISPLAY_LINE_TEXT
|
has_lcd = true;
|
||||||
|| g_info.hw_caps->display_type == HW_DISPLAY_LED_NUM
|
else
|
||||||
|| g_info.hw_caps->display_type == HW_DISPLAY_LED_ONLY
|
|
||||||
)
|
|
||||||
{
|
|
||||||
if (g_info.hw_caps->display_type == HW_DISPLAY_LINE_TEXT)
|
|
||||||
has_lcd = true;
|
|
||||||
else
|
|
||||||
has_lcd = false;
|
|
||||||
} else
|
|
||||||
has_lcd = false;
|
has_lcd = false;
|
||||||
|
|
||||||
mode = MODE_TVRADIO;
|
mode = MODE_TVRADIO;
|
||||||
|
Reference in New Issue
Block a user