Skip to content
Commit d719801d authored by Peter Bigot's avatar Peter Bigot Committed by Maureen Helm
Browse files

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: default avatarPeter Bigot <peter.bigot@nordicsemi.no>
parent be8c59b4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment