General cleanup and refactor.

This commit is contained in:
2022-03-07 07:36:42 +00:00
parent 0deebadaa0
commit bd76adc35e
119 changed files with 1647 additions and 2151 deletions

View File

@@ -39,12 +39,12 @@ public static class VendorString
/// <param name="sdVendorId">SD vendor ID</param>
/// <returns>Manufacturer</returns>
public static string Prettify(byte sdVendorId) => sdVendorId switch
{
0x41 => "Kingston",
0x02 => "Kingston",
0x03 => "Sandisk",
0x27 => "CnMemory",
0xAA => "QEMU",
_ => $"Unknown manufacturer ID 0x{sdVendorId:X2}"
};
{
0x41 => "Kingston",
0x02 => "Kingston",
0x03 => "Sandisk",
0x27 => "CnMemory",
0xAA => "QEMU",
_ => $"Unknown manufacturer ID 0x{sdVendorId:X2}"
};
}