mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 15:02:58 +02:00
- hw_caps: simplify and unify initialized handling
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -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 ∩︀
|
||||
}
|
||||
|
Reference in New Issue
Block a user