From 07a41bcef6f4e5f60c0928b5515bed56871fbb12 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Thu, 24 Nov 2022 21:38:15 +0100 Subject: [PATCH] - simple_display: simplify setScrollMode() --- src/driver/simple_display.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/driver/simple_display.cpp b/src/driver/simple_display.cpp index 2cc55b021..d8c58ff98 100644 --- a/src/driver/simple_display.cpp +++ b/src/driver/simple_display.cpp @@ -515,10 +515,10 @@ void CLCD::setScrollMode(int scroll_repeats) printf("CLCD::%s scroll_repeats:%d\n", __func__, scroll_repeats); if (scroll_repeats) { - proc_put("/proc/stb/lcd/initial_scroll_delay", "1000"); - proc_put("/proc/stb/lcd/final_scroll_delay", "1000"); - proc_put("/proc/stb/lcd/scroll_delay", "150"); - proc_put("/proc/stb/lcd/scroll_repeats", to_string(scroll_repeats).c_str()); + proc_put("/proc/stb/lcd/initial_scroll_delay", 1000); + proc_put("/proc/stb/lcd/final_scroll_delay", 1000); + proc_put("/proc/stb/lcd/scroll_delay", 150); + proc_put("/proc/stb/lcd/scroll_repeats", scroll_repeats); } else {