Skip to content

Commit 32ab4f7

Browse files
committed
Hardcode laptop 12
Signed-off-by: Daniel Schaefer <dhs@frame.work>
1 parent 3da4642 commit 32ab4f7

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

framework_lib/src/smbios.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -270,7 +270,8 @@ pub fn get_platform() -> Option<Platform> {
270270
"Laptop 13 (Intel Core Ultra Series 1)" => Some(Platform::IntelCoreUltra1),
271271
"Laptop 16 (AMD Ryzen 7040 Series)" => Some(Platform::Framework16Amd7080),
272272
"Desktop (AMD Ryzen AI Max 300 Series)" => Some(Platform::FrameworkDesktopAmdAiMax300),
273-
_ => None,
273+
// Hardcode Laptop 12 details
274+
_ => Some(Platform::GenericFramework((0x08, 0x40), (1, 2), false))
274275
};
275276

276277
if let Some(platform) = platform {

0 commit comments

Comments
 (0)