Skip to content

Commit bf47c49

Browse files
committed
Cleanup
1 parent 740978d commit bf47c49

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/SpdReaderWriter/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ static void Main(string[] args) {
6868

6969
Silent = Data.ArrayContains(Args, "/silent");
7070
ShowColor = !Data.ArrayContains(Args, "/nocolor");
71-
FilePath = Args.Length >= 4 && Args[3].Contains("/") ? "" : Args[3];
71+
FilePath = Args.Length >= 4 && !Args[3].Contains("/") ? Args[3] : "";
7272

7373
if (IsAdmin()) {
7474
Smbus = new Smbus();

src/SpdReaderWriterDll/Spd.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -309,7 +309,7 @@ public enum RamType : byte {
309309
/// <summary>
310310
/// Defines SPD sizes
311311
/// </summary>
312-
public readonly struct DataLength {
312+
public struct DataLength {
313313
public const ushort Unknown = 0;
314314
public const ushort Minimum = 256; // DDR3, DDR2, DDR, and SDRAM
315315
public const ushort DDR4 = 512; // incl. LPDDR3

0 commit comments

Comments
 (0)