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

Commit 18b663da authored by Chris Manton's avatar Chris Manton
Browse files

Canonicalize btif/src/btif_gatt::btgattInterface

Towards readable code

Bug: 163134718
Tag: #refactor
Test: gd/cert/run

Change-Id: I23c55595082991614ce445405fa46514cbbda5c5
parent 145efb93
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -75,15 +75,15 @@ static void btif_gatt_cleanup(void) {
}

static btgatt_interface_t btgattInterface = {
    sizeof(btgattInterface),
    .size = sizeof(btgattInterface),

    btif_gatt_init,
    btif_gatt_cleanup,
    .init = btif_gatt_init,
    .cleanup = btif_gatt_cleanup,

    &btgattClientInterface,
    &btgattServerInterface,
    nullptr,  // filled in btif_gatt_get_interface
    nullptr   // filled in btif_gatt_get_interface
    .client = &btgattClientInterface,
    .server = &btgattServerInterface,
    .scanner = nullptr,    // filled in btif_gatt_get_interface
    .advertiser = nullptr  // filled in btif_gatt_get_interface
};

/*******************************************************************************