arm/mips: more zappingmode options

Origin commit data
------------------
Branch: master
Commit: 87374b573b
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2020-01-26 (Sun, 26 Jan 2020)


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

------------------
This commit was generated by Migit
This commit is contained in:
BPanther
2020-01-26 22:29:18 +01:00
committed by vanhofen
parent 6f6e17133e
commit a96cbdfcbd
2 changed files with 1 additions and 3 deletions

View File

@@ -38,8 +38,6 @@ void hal_api_init()
proc_put("/proc/stb/fb/dst_width", buffer, strlen(buffer));
sprintf(buffer, "%x", 1);
proc_put("/proc/stb/fb/dst_apply", buffer, strlen(buffer));
sprintf(buffer, "%s", "mute");
proc_put("/proc/stb/video/zapmode", buffer, strlen(buffer));
#if BOXMODEL_VUSOLO4K || BOXMODEL_VUDUO4K || BOXMODEL_VUULTIMO4K || BOXMODEL_VUUNO4KSE || BOXMODEL_VUUNO4K
sprintf(buffer, "%s", "enable");
proc_put("/proc/stb/frontend/fbc/fcc", buffer, strlen(buffer));

View File

@@ -945,7 +945,7 @@ void cVideo::SetControl(int control, int value)
break;
case VIDEO_CONTROL_ZAPPING_MODE:
zapping_mode = value;
const char *mode_zapping[] = { "hold", "mute" };
const char *mode_zapping[] = { "mute", "hold", "mutetilllock", "holdtilllock"};
proc_put("/proc/stb/video/zapmode", mode_zapping[zapping_mode], strlen(mode_zapping[zapping_mode]));
break;
}