apache-mynewt-bot commented on pull request #838: URL: https://github.com/apache/mynewt-nimble/pull/838#issuecomment-691096364
<!-- style-bot --> ## Style check summary ### Our coding style is [here!](https://github.com/apache/mynewt-core/blob/master/CODING_STANDARDS.md) #### apps/privacy_cent/src/main.c <details> ```diff @@ -82,7 +82,7 @@ switch (event->type) { case BLE_GAP_EVENT_CONNECT: - if (!reconnection){ + if (!reconnection) { if (event->connect.status == 0) { MODLOG_DFLT(INFO,"Connection was established\n"); MODLOG_DFLT(INFO,"Role: "); ``` </details> #### apps/privacy_periph/src/main.c <details> ```diff @@ -72,14 +72,14 @@ break; case BLE_GAP_EVENT_CONNECT: if (event->connect.status == 0) { - ble_gap_conn_find(event->connect.conn_handle, &conn_desc); - MODLOG_DFLT(INFO,"Connection was established\n"); - MODLOG_DFLT(INFO,"Role: "); - if (conn_desc.role == 0) { - MODLOG_DFLT(INFO,"master\n"); - } else { - MODLOG_DFLT(INFO,"slave\n"); - } + ble_gap_conn_find(event->connect.conn_handle, &conn_desc); + MODLOG_DFLT(INFO,"Connection was established\n"); + MODLOG_DFLT(INFO,"Role: "); + if (conn_desc.role == 0) { + MODLOG_DFLT(INFO,"master\n"); + } else { + MODLOG_DFLT(INFO,"slave\n"); + } } else if (event->connect.status == BLE_ERR_ACL_CONN_EXISTS) { MODLOG_DFLT(INFO, "Connection already exists\n"); break; ``` </details> ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected]
