hw_caps: simplify and unify initialized handling

Origin commit data
------------------
Branch: master
Commit: 5ec4e4f22f
Author: vanhofen <vanhofen@gmx.de>
Date: 2021-05-29 (Sat, 29 May 2021)

Origin message was:
------------------
- hw_caps: simplify and unify initialized handling

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2021-05-29 20:49:47 +02:00
parent e7578702e0
commit cef23d5de4
6 changed files with 10 additions and 37 deletions

View File

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