- libarmbox: align modification of /proc/stb/frontend/fbc/fcc to the proc_put calls above

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2019-12-20 23:18:53 +01:00
committed by Thilo Graf
parent fb8bb36cf7
commit 7a650421bf

View File

@@ -41,8 +41,8 @@ void hal_api_init()
sprintf(buffer, "%s", "mute"); sprintf(buffer, "%s", "mute");
proc_put("/proc/stb/video/zapmode", buffer, strlen(buffer)); proc_put("/proc/stb/video/zapmode", buffer, strlen(buffer));
#if BOXMODEL_VUSOLO4K || BOXMODEL_VUDUO4K || BOXMODEL_VUULTIMO4K || BOXMODEL_VUUNO4KSE || BOXMODEL_VUUNO4K #if BOXMODEL_VUSOLO4K || BOXMODEL_VUDUO4K || BOXMODEL_VUULTIMO4K || BOXMODEL_VUUNO4KSE || BOXMODEL_VUUNO4K
const char mode_fcc[] = { "enable" }; sprintf(buffer, "%s", "enable");
proc_put("/proc/stb/frontend/fbc/fcc", mode_fcc, strlen(mode_fcc)); proc_put("/proc/stb/frontend/fbc/fcc", buffer, strlen(buffer));
#endif #endif
} }
initialized = true; initialized = true;