Skip to content
Commit 5324e8ef authored by Melin Tomas's avatar Melin Tomas Committed by Heiko Schocher
Browse files

xilinx_xiic: Fix fill tx fifo loop



Comparison should be against the actual message length, not loop index.

len is used for stopping while loop, pos is position in message.
stop should be sent when entire message is sent, not when
len and pos meet.

hs: fixed DOS line endings

Signed-off-by: default avatarTomas Melin <tomas.melin@vaisala.com>
parent 2d1e879c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment