Skip to content
Commit 811330bd authored by Luca Burelli's avatar Luca Burelli Committed by Carles Cufí
Browse files

device.h: fix bad error message for Z_DEVICE_NAME_CHECK



The error message for Z_DEVICE_NAME_CHECK was needlessly calling
DEVICE_NAME_GET() on the "name" string, resulting in a confusing message
being displayed.

Remove the DEVICE_NAME_GET call so that the error message shown by the
compiler contains the actual name.

Signed-off-by: default avatarLuca Burelli <l.burelli@arduino.cc>
parent ef784cd3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment