From 16d5e3f2a60be0cc5ef2e2d62698b4f582d9e5a9 Mon Sep 17 00:00:00 2001 From: Jean-Roland Gosse Date: Fri, 17 Nov 2023 15:19:23 +0100 Subject: [PATCH] fix: run clang-format --- include/zenoh-pico/link/link.h | 8 ++++---- src/link/multicast/bt.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/include/zenoh-pico/link/link.h b/include/zenoh-pico/link/link.h index 8d24d50f0..568d9c68e 100644 --- a/include/zenoh-pico/link/link.h +++ b/include/zenoh-pico/link/link.h @@ -76,10 +76,10 @@ typedef enum { * reserved: 4 bits, reserved for futur use */ typedef struct _z_link_capabilities_t { - _z_link_cap_transport_t _transport: 2; - _z_link_cap_flow_t _flow: 1; - _Bool _is_reliable: 1; - uint8_t _reserved: 4; + _z_link_cap_transport_t _transport : 2; + _z_link_cap_flow_t _flow : 1; + _Bool _is_reliable : 1; + uint8_t _reserved : 4; } _z_link_capabilities_t; struct _z_link_t; // Forward declaration to be used in _z_f_link_* diff --git a/src/link/multicast/bt.c b/src/link/multicast/bt.c index f5483d932..9c54b966c 100644 --- a/src/link/multicast/bt.c +++ b/src/link/multicast/bt.c @@ -118,7 +118,7 @@ int8_t _z_new_link_bt(_z_link_t *zl, _z_endpoint_t endpoint) { zl->_cap._transport = Z_LINK_CAP_TRANSPORT_MULTICAST; zl->_cap._flow = Z_LINK_CAP_FLOW_STREAM; zl->_cap._is_reliable = false; - + zl->_mtu = _z_get_link_mtu_bt(); zl->_endpoint = endpoint;