simple_display: simplify some proc_put calls

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

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

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-11-13 21:17:36 +01:00
parent 0d05d5eddf
commit ae5be7682d

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
{