arm/mips: more zappingmode options

This commit is contained in:
BPanther
2020-01-26 22:29:18 +01:00
committed by Thilo Graf
parent b6fe299ee6
commit 34fc6368c4
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;
}