Public bug reported:

Hi
i2cdump doubles the count of words if I use a range with option -w.

The reason is line 471 in version 4.2-2:
for (j = 0; j < 8; j++) {
        /* Skip unwanted registers */

if you read word wise, you should count word wise.

for (j = 0; j < 8; j+=2) {
        /* Skip unwanted registers */


Regards and many thanks for your work, Christian.

** Affects: i2c-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1947140

Title:
  i2cdump double the word count if using -w

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/i2c-tools/+bug/1947140/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to