We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b61d74 commit 447501fCopy full SHA for 447501f
framework_lib/src/smbios.rs
@@ -20,6 +20,7 @@ static CACHED_PLATFORM: Mutex<Option<Option<Platform>>> = Mutex::new(None);
20
21
/// Check whether the manufacturer in the SMBIOS says Framework
22
pub fn is_framework() -> bool {
23
+ return true;
24
let smbios = if let Some(smbios) = get_smbios() {
25
smbios
26
} else {
@@ -75,6 +76,7 @@ pub fn get_smbios() -> Option<SMBiosData> {
75
76
}
77
78
pub fn get_platform() -> Option<Platform> {
79
+ return Some(Platform::Framework16);
80
#[cfg(feature = "uefi")]
81
let mut cached_platform = CACHED_PLATFORM.lock();
82
#[cfg(not(feature = "uefi"))]
0 commit comments