mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-11-29 04:21:35 +00:00
[v1.03] Fixing commit 99fd108
This commit is contained in:
1 parent
5dd6ab60cb
commit
10d4f67cdb
1 file changed
+4
-2
+4
-2
@@ -814,8 +814,10 @@ struct system_on_chip* get_soc(void) {
|
||||
printWarn("SoC detection failed using Android: Found '%s' string", soc->raw_name);
|
||||
}
|
||||
#endif // ifdef __ANDROID__
|
||||
// If cpufinfo detection fails, try with nvmem
|
||||
soc = guess_soc_from_nvmem(soc);
|
||||
// If cpufinfo/Android (if available) detection fails, try with nvmem
|
||||
if(soc->soc_vendor == SOC_VENDOR_UNKNOWN) {
|
||||
soc = guess_soc_from_nvmem(soc);
|
||||
}
|
||||
}
|
||||
#elif defined __APPLE__ || __MACH__
|
||||
soc = guess_soc_apple(soc);
|
||||
|
||||
Reference in new issue
Block a user