mirror of
https://github.com/Dr-Noob/cpufetch.git
synced 2026-03-25 07:50:40 +01:00
[v1.03] Fixing commit 99fd108
This commit is contained in:
@@ -814,8 +814,10 @@ struct system_on_chip* get_soc(void) {
|
|||||||
printWarn("SoC detection failed using Android: Found '%s' string", soc->raw_name);
|
printWarn("SoC detection failed using Android: Found '%s' string", soc->raw_name);
|
||||||
}
|
}
|
||||||
#endif // ifdef __ANDROID__
|
#endif // ifdef __ANDROID__
|
||||||
// If cpufinfo detection fails, try with nvmem
|
// If cpufinfo/Android (if available) detection fails, try with nvmem
|
||||||
soc = guess_soc_from_nvmem(soc);
|
if(soc->soc_vendor == SOC_VENDOR_UNKNOWN) {
|
||||||
|
soc = guess_soc_from_nvmem(soc);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#elif defined __APPLE__ || __MACH__
|
#elif defined __APPLE__ || __MACH__
|
||||||
soc = guess_soc_apple(soc);
|
soc = guess_soc_apple(soc);
|
||||||
|
|||||||
Reference in New Issue
Block a user