mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 08:21:12 +02:00
SNeutrinoSettings: convert more char[...] configuration values to std::string
This commit is contained in:
@@ -117,8 +117,8 @@ void CVFD::count_down() {
|
||||
|
||||
void CVFD::wake_up() {
|
||||
if(!has_lcd) return;
|
||||
if (atoi(g_settings.lcd_setting_dim_time) > 0) {
|
||||
timeout_cnt = atoi(g_settings.lcd_setting_dim_time);
|
||||
if (atoi(g_settings.lcd_setting_dim_time.c_str()) > 0) {
|
||||
timeout_cnt = atoi(g_settings.lcd_setting_dim_time.c_str());
|
||||
g_settings.lcd_setting_dim_brightness > -1 ?
|
||||
setBrightness(g_settings.lcd_setting[SNeutrinoSettings::LCD_BRIGHTNESS]) : setPower(1);
|
||||
}
|
||||
|
Reference in New Issue
Block a user