From e69c5a368bdcfc28681363ee5a000b7146fc4b6c Mon Sep 17 00:00:00 2001 From: vanhofen Date: Thu, 24 Nov 2022 21:38:15 +0100 Subject: [PATCH] simple_display: simplify setScrollMode() Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/64fd95b7aaf213e20386f563e191e5c12e25bda2 Author: vanhofen Date: 2022-11-24 (Thu, 24 Nov 2022) Origin message was: ------------------ - simple_display: simplify setScrollMode() ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- 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 {