mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
Merge remote-tracking branch 'check/next-cc'
compiles, nothing else.
Conflicts:
configure.ac
src/Makefile.am
src/gui/Makefile.am
src/gui/luainstance.cpp
src/gui/luainstance.h
src/gui/plugins.cpp
src/gui/plugins.h
src/gui/scan_setup.cpp
src/gui/start_wizard.cpp
src/gui/test_menu.cpp
src/gui/user_menue.cpp
src/gui/widget/hintboxext.cpp
src/gui/widget/menue.cpp
src/gui/widget/messagebox.cpp
src/gui/widget/stringinput.cpp
Origin commit data
------------------
Branch: ni/coolstream
Commit: b414474323
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2014-01-23 (Thu, 23 Jan 2014)
------------------
This commit was generated by Migit
This commit is contained in:
@@ -144,8 +144,9 @@ void CLCD::count_down() {
|
||||
}
|
||||
|
||||
void CLCD::wake_up() {
|
||||
if (atoi(g_settings.lcd_setting_dim_time) > 0) {
|
||||
timeout_cnt = atoi(g_settings.lcd_setting_dim_time);
|
||||
int tmp = atoi(g_settings.lcd_setting_dim_time.c_str());
|
||||
if (tmp > 0) {
|
||||
timeout_cnt = (unsigned int)tmp;
|
||||
setlcdparameter();
|
||||
}
|
||||
}
|
||||
@@ -387,7 +388,7 @@ void CLCD::setlcdparameter(int /*dimm*/, const int contrast, const int /*power*/
|
||||
void CLCD::setlcdparameter(void)
|
||||
{
|
||||
last_toggle_state_power = g_settings.lcd_setting[SNeutrinoSettings::LCD_POWER];
|
||||
int dim_time = atoi(g_settings.lcd_setting_dim_time);
|
||||
int dim_time = atoi(g_settings.lcd_setting_dim_time.c_str());
|
||||
int dim_brightness = g_settings.lcd_setting_dim_brightness;
|
||||
bool timeouted = (dim_time > 0) && (timeout_cnt == 0);
|
||||
int brightness, power = 0;
|
||||
|
Reference in New Issue
Block a user