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

Commit d164649f authored by Chih-Hung Hsieh's avatar Chih-Hung Hsieh Committed by android-build-merger
Browse files

Merge \\\"Fix misc-macro-parentheses warnings\\\" am: 89902a18 am: ea62097e

am: 1de63de3

Change-Id: Ieed27535bcd4fee0ead885c88fae4ef5de5fb0a1
parents 0ce8c345 1de63de3
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)