device: Fixed CPP compatiblity for Z_DEVICE_INIT
The macro `Z_DEVICE_INIT` is not compatible with C++ due to
initialization order of the struct device. This commit fixes
the initialization for compatiblity with C++.
Signed-off-by:
Victor Chavez <chavez-bermudez@fh-aachen.de>
Loading
Please sign in to comment