zbus: make ZBUS_CHANNEL_DECLARE compatible with C++
The current implementation of ZBUS_CHAN_DECLARE is not compatible with
C++. It fixes the bug by adding the extern keyword at the channel
definition which will work for both C and C++.
Signed-off-by:
Rodrigo Peixoto <rodrigopex@gmail.com>
Loading
Please sign in to comment