Skip to content
Commit b8e1ee10 authored by Victor Chavez's avatar Victor Chavez Committed by Carles Cufí
Browse files

device: Fixed CPP compatiblity for Z_DEVICE_HANDLES_DEFINE



By using the __weak attribute with the macro `Z_DEVICE_HANDLES_DEFINE`
C++ throws the error "weak declaration must be public". This change
adds the keyword extern if the macro is included in a C++ source
file.

Signed-off-by: default avatarVictor Chavez <chavez-bermudez@fh-aachen.de>
parent bd591704
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment