General refactor.

This commit is contained in:
2018-06-20 22:22:21 +01:00
parent 2b769cbf4b
commit 3ec5977783
6 changed files with 18 additions and 26 deletions

View File

@@ -145,7 +145,6 @@ namespace DiscImageChef.Decoders.SecureDigital
double unitFactor = 0;
double multiplier = 0;
double result;
string unit = "";
StringBuilder sb = new StringBuilder();
@@ -248,7 +247,7 @@ namespace DiscImageChef.Decoders.SecureDigital
break;
}
result = unitFactor * multiplier;
double result = unitFactor * multiplier;
sb.AppendFormat("\tAsynchronous data access time is {0}{1}", result, unit).AppendLine();
sb.AppendFormat("\tClock dependent part of data access is {0} clock cycles", csd.NSAC * 100).AppendLine();