mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-27 23:42:58 +02:00
- lcd4l: add GetMaxBrightness() function
Signed-off-by: GetAway <get-away@t-online.de>
This commit is contained in:
@@ -224,6 +224,25 @@ int CLCD4l::RemoveFile(const char *file)
|
||||
return ret;
|
||||
}
|
||||
|
||||
int CLCD4l::GetMaxBrightness()
|
||||
{
|
||||
int max_brightness;
|
||||
|
||||
switch (g_settings.lcd4l_dpf_type)
|
||||
{
|
||||
case SAMSUNG:
|
||||
case VUSOLO4K:
|
||||
max_brightness = 10;
|
||||
break;
|
||||
case PEARL:
|
||||
default:
|
||||
max_brightness = 7;
|
||||
break;
|
||||
}
|
||||
|
||||
return max_brightness;
|
||||
}
|
||||
|
||||
/* ----------------------------------------------------------------- */
|
||||
|
||||
void CLCD4l::Init()
|
||||
|
Reference in New Issue
Block a user