simple_display: simplify some proc_put calls

Signed-off-by: Thilo Graf <dbt@novatux.de>


Origin commit data
------------------
Branch: ni/coolstream
Commit: 463c4ec154
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-11-13 (Mon, 13 Nov 2017)

Origin message was:
------------------
- simple_display: simplify some proc_put calls

Signed-off-by: Thilo Graf <dbt@novatux.de>


------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-11-13 21:17:36 +01:00
committed by Thilo Graf
parent d4d58c0bb5
commit 42f4c7d596

View File

@@ -586,10 +586,10 @@ void CLCD::setScrollMode(int scroll)
printf("CLCD::%s scroll:%d\n", __func__, scroll);
if (scroll)
{
proc_put("/proc/stb/lcd/initial_scroll_delay", "1000", 4);
proc_put("/proc/stb/lcd/final_scroll_delay", "1000", 4);
proc_put("/proc/stb/lcd/scroll_delay", "150", 3);
proc_put("/proc/stb/lcd/scroll_repeats", "3", 1);
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", "3");
}
else
{