bt_bridge: Fix error: address argument to atomic operation must be a pointer to _Atomic type

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao 2022-08-26 14:54:42 +08:00 committed by Xiang Xiao
parent b352a625bf
commit 38af5befad

View file

@ -69,7 +69,7 @@ struct bt_bridge_s
#ifdef CONFIG_BLUETOOTH_BRIDGE_BTSNOOP
FAR struct snoop_s *snoop;
#endif /* CONFIG_BLUETOOTH_BRIDGE_BTSNOOP */
uint8_t refs;
atomic_uint refs;
};
/****************************************************************************