Il 21/11/2013 12:30, Peter Lieven ha scritto: >> + if (num <= max_write_zeroes) { > This frees the bounce buffer ever and ever. num can never be greater than > max_write_zeroes. So you need a num < max_write_zeroes here.
Thanks, well spotted. Paolo
Il 21/11/2013 12:30, Peter Lieven ha scritto: >> + if (num <= max_write_zeroes) { > This frees the bounce buffer ever and ever. num can never be greater than > max_write_zeroes. So you need a num < max_write_zeroes here.
Thanks, well spotted. Paolo