Rearrange misplaced code to its correct position

This commit is contained in:
Hoang Hong Quan
2024-10-10 21:09:49 +07:00
parent 8911bb750e
commit e68ab5cc81

View File

@@ -2012,9 +2012,9 @@ DefinitionBlock ("", "SSDT", 2, "ZPSS", "DNVMe", 0x00000000)
}
"""
ssdt_content = ssdt_content.replace("[[DevicePath]]", device_props.get("ACPI Path"))
if ssdt_name:
ssdt_content = ssdt_content.replace("[[DevicePath]]", device_props.get("ACPI Path"))
results["Add"].append(
{
"Comment": comment,