Merge pull request #85 from shawnferry/tenbit_i2c

Corrected 10 bit address mask
This commit is contained in:
Agustín Gimenez Bernad 2023-10-12 13:47:51 +02:00 committed by GitHub
commit 0db87d8797
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,7 +81,7 @@ namespace I2CProtocolAnalyzer
segment.Value += $"\r\nOp: {((value & 1) == 1 ? "Read" : "Write")}";
if ((value & 0xf8) == 0xf7)
if ((value & 0xf8) == 0xf0)
{
address10 = true;
firstAddressByte = value;