mirror of
https://github.com/fastfetch-cli/fastfetch.git
synced 2026-10-30 00:37:23 +01:00
e0eba8ce21
```bash find . -type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.hpp" \) ! -path "src/3rdparty/*" -print0 | xargs -0 clang-format -i ```
17 lines
428 B
C
17 lines
428 B
C
#include "bios.h"
|
|
#include "common/settings.h"
|
|
|
|
const char* ffDetectBios(FFBiosResult* bios) {
|
|
if (!ffSettingsGetAndroidProperty("ro.bootloader", &bios->version)) {
|
|
ffSettingsGetAndroidProperty("ro.boot.bootloader", &bios->version);
|
|
}
|
|
|
|
if (ffStrbufIgnCaseEqualS(&bios->version, "unknown")) {
|
|
ffStrbufClear(&bios->version);
|
|
}
|
|
|
|
ffStrbufSetStatic(&bios->type, "Bootloader");
|
|
|
|
return NULL;
|
|
}
|