Skip to content

Commit

Permalink
fix: run clang-format
Browse files Browse the repository at this point in the history
  • Loading branch information
jean-roland committed Nov 17, 2023
1 parent 6e7a3c9 commit 16d5e3f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions include/zenoh-pico/link/link.h
Original file line number Diff line number Diff line change
Expand Up @@ -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_*
Expand Down
2 changes: 1 addition & 1 deletion src/link/multicast/bt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 16d5e3f

Please sign in to comment.