mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-26 15:02:43 +02:00
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:
@@ -34,7 +34,6 @@ hw_caps_t *get_hwcaps(void)
|
||||
else
|
||||
caps.can_pip = 0;
|
||||
|
||||
initialized = 1;
|
||||
caps.has_CI = 0;
|
||||
caps.can_cec = 1;
|
||||
caps.can_cpufreq = 1;
|
||||
@@ -178,5 +177,7 @@ hw_caps_t *get_hwcaps(void)
|
||||
tmp = "(NO STB_ID FOUND)";
|
||||
strcpy(caps.boxname, tmp);
|
||||
}
|
||||
|
||||
initialized = 1;
|
||||
return ∩︀
|
||||
}
|
||||
|
Reference in New Issue
Block a user