Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 89902a18 authored by Treehugger Robot's avatar Treehugger Robot Committed by Gerrit Code Review
Browse files

Merge "Fix misc-macro-parentheses warnings"

parents 61ca891c e325d7b1
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -45,13 +45,13 @@
    uuid_lsb(uuid_ptr),  uuid_msb(uuid_ptr)

#define GATT_ID_PARAMS(attr_ptr) \
    attr_ptr->inst_id, \
    UUID_PARAMS((&attr_ptr->uuid))
    (attr_ptr)->inst_id, \
    UUID_PARAMS((&(attr_ptr)->uuid))

#define SRVC_ID_PARAMS(srvc_ptr) \
    (srvc_ptr->is_primary ? \
    ((srvc_ptr)->is_primary ? \
    BTGATT_SERVICE_TYPE_PRIMARY : BTGATT_SERVICE_TYPE_SECONDARY), \
    GATT_ID_PARAMS((&srvc_ptr->id))
    GATT_ID_PARAMS(&(srvc_ptr)->id)


static void set_uuid(uint8_t* uuid, jlong uuid_msb, jlong uuid_lsb)