Skip to content
Snippets Groups Projects
Commit faffe14f authored by Frans Meulenbroeks's avatar Frans Meulenbroeks Committed by Wolfgang Denk
Browse files

cmd_i2c.c: reduced subaddress length to 3 bytes


according to some of the comments the subaddress length is 1 or 2, but we are being
prepared for the case it becomes 3. However the code also accepted 4.
This repairs this by changing the constand 4 to 3.

Signed-off-by: default avatarFrans Meulenbroeks <fransmeulenbroeks@gmail.com>
parent a6a04967
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment