packages updated, lut crc check updated

This commit is contained in:
Stoyan Zlatev 2024-10-24 13:35:12 +02:00
parent f3221fa1d4
commit 40eccca14a
2 changed files with 5 additions and 7 deletions

View File

@ -394,15 +394,13 @@
if (eolModel.ProductionStatusLutCrc != EOLStatus.NA)
{
if (UInt16.TryParse(lutCrcString, NumberStyles.HexNumber, CultureInfo.InvariantCulture, out var lutCRCValue))
if (UInt16.TryParse(lutCrcString, NumberStyles.HexNumber, CultureInfo.InvariantCulture, out var lutCRCRequirement))
{
var lutCRCRegister = appsDictionary[Apps.GENESISFLOW][GENESISFLOW.LookupFileCrc];
var lutCRCRegister = appsDictionary[Apps.GENESISFLOW][GENESISFLOW.LookupFileCrc].GetValue<UInt16>();
if (!lutCRCRegister.IsEquals(lutCRCValue))
if (lutCRCRegister != lutCRCRequirement)
{
var registerLutCrc = lutCRCRegister.GetValue();
yield return new KeyValuePair<String, String>(pcbidString, $"LUT CRC ambiguous between {requiremetLutCrc}(requirement) and 0x{registerLutCrc:X2}(register).");
yield return new KeyValuePair<String, String>(pcbidString, $"LUT CRC ambiguous between {lutCRCRequirement:X2}(requirement) and 0x{lutCRCRegister:X2}(register).");
yield break;
}
}

@ -1 +1 @@
Subproject commit 0bd11ec9087e6fa3a47cb0d3e65af2846c184b1b
Subproject commit d65271d306099eca5e37c68e8dc5e2295acb2771