From 5d2eb310fc716b7137162c3b348023c02db7b34e Mon Sep 17 00:00:00 2001 From: Rohit Grover Date: Wed, 17 Dec 2014 08:55:57 +0000 Subject: [PATCH] white space diffs. --- nRF51GattServer.cpp | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/nRF51GattServer.cpp b/nRF51GattServer.cpp index 5905b08..b745cdc 100644 --- a/nRF51GattServer.cpp +++ b/nRF51GattServer.cpp @@ -337,9 +337,7 @@ void nRF51GattServer::hwCallback(ble_evt_t *p_ble_evt) .data = NULL }; - /* Ask for authorization and, potentially, new data. - Use updated parameters to construct reply. - */ + /* Ask for authorization and, potentially, new data. Use updated parameters to construct reply. */ p_characteristics[i]->authorizeRead(&cbParams); ble_gatts_rw_authorize_reply_params_t reply = { @@ -350,10 +348,10 @@ void nRF51GattServer::hwCallback(ble_evt_t *p_ble_evt) reply.params.read.gatt_status = BLE_GATT_STATUS_SUCCESS; if (cbParams.data != NULL) { - reply.params.read.update = 1; - reply.params.read.offset = cbParams.offset; - reply.params.read.len = cbParams.len; - reply.params.read.p_data = cbParams.data; + reply.params.read.update = 1; + reply.params.read.offset = cbParams.offset; + reply.params.read.len = cbParams.len; + reply.params.read.p_data = cbParams.data; } } else { reply.params.read.gatt_status = BLE_GATT_STATUS_ATTERR_READ_NOT_PERMITTED;