parse_az6007.pl: Move the I2C read decode hack to the proper place
authorMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 24 Jul 2011 11:05:12 +0000 (08:05 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sun, 24 Jul 2011 11:05:12 +0000 (08:05 -0300)
commit73243e4a9d4b20909cd295f451413089fb0f360e
treeaead60ce6d1dd8d6278bc49ec8b095683ea57194
parent81c5261ed833de71a79d20f882457c8c3a320d03
parse_az6007.pl: Move the I2C read decode hack to the proper place

The removal of the extra bytes should be done only at the payload.
Also, moving it to the logic that handles the I2C subaddress
makes the code more readable.

Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
contrib/az6007/parse_az6007.pl