Skip to content
Commit 0bb7ccbb authored by Declan Snyder's avatar Declan Snyder Committed by Benjamin Cabé
Browse files

drivers: spi_context: Functions for remaining len



Add functions to get remaining length in the transfer. Refactor a bit to
avoid duplicate code for the for loop that is the same as in the total
length function.

The difference between the total length and left length function is that
the current buffer total length is counted in the former and the current
buffer remaining length is counted in the latter.

Signed-off-by: default avatarDeclan Snyder <declan.snyder@nxp.com>
parent 9966d299
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment