mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 17:31:11 +02:00
simple-display: simplify initialization of has_lcd
Origin commit data
------------------
Branch: ni/coolstream
Commit: 800d0c6131
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-02-15 (Mon, 15 Feb 2021)
Origin message was:
------------------
- simple-display: simplify initialization of has_lcd
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -105,17 +105,9 @@ static void replace_umlauts(std::string &s)
|
||||
CLCD::CLCD()
|
||||
{
|
||||
/* do not show menu in neutrino...,at Line Display true, because there is th GLCD Menu */
|
||||
if (
|
||||
g_info.hw_caps->display_type == HW_DISPLAY_LINE_TEXT
|
||||
|| g_info.hw_caps->display_type == HW_DISPLAY_LED_NUM
|
||||
|| 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
|
||||
if (g_info.hw_caps->display_type == HW_DISPLAY_LINE_TEXT)
|
||||
has_lcd = true;
|
||||
else
|
||||
has_lcd = false;
|
||||
|
||||
mode = MODE_TVRADIO;
|
||||
|
Reference in New Issue
Block a user