Skip to content
Commit e8c5ca50 authored by Rodrigo Peixoto's avatar Rodrigo Peixoto Committed by Carles Cufí
Browse files

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: default avatarRodrigo Peixoto <rodrigopex@gmail.com>
parent a36d4bea
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment