Skip to content
Commit 08168f60 authored by Joakim Andersson's avatar Joakim Andersson Committed by Alberto Escolar
Browse files

Bluetooth: assert: Change printed expression to printing line and file



Change assertion messaged printed from printing expression to printing
the line and file name. This provides more context as the same
expression could be asserted upon multiple times and would then not
provide enough clarity in the message.

Also using a formatted string would save code space as we can use the
same string for all messages instead of creating a unique one for each
condition.

Signed-off-by: default avatarJoakim Andersson <joakim.andersson@nordicsemi.no>
parent 8aecf149
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment