- hw_caps: simplify and unify initialized handling

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2021-05-29 20:49:47 +02:00
committed by Thilo Graf
parent 94909d2085
commit 5d10ee9095
6 changed files with 13 additions and 37 deletions

View File

@@ -33,7 +33,6 @@ hw_caps_t *get_hwcaps(void)
caps.can_pip = 1;
#if BOXMODEL_VUDUO
initialized = 1;
caps.has_CI = 2;
caps.can_cec = 1;
caps.can_cpufreq = 0;
@@ -54,5 +53,7 @@ hw_caps_t *get_hwcaps(void)
strcpy(caps.boxname, "DUO");
strcpy(caps.boxarch, "BCM7335");
#endif
initialized = 1;
return &caps;
}