drivers: i2c_nrfx_twim: correct concat buf bounds check
The original checked only the current message length against the
buffer size, not accounting for space already used.
Also improve the diagnostic to indicate how much space is required vs
given.
Signed-off-by:
Peter Bigot <peter.bigot@nordicsemi.no>
Loading
Please sign in to comment