You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mynewt.apache.org by cc...@apache.org on 2016/11/08 22:54:56 UTC
[06/22] incubator-mynewt-core git commit: coding style changes
coding style changes
Project: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/commit/98caf9f2
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/98caf9f2
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/98caf9f2
Branch: refs/heads/develop
Commit: 98caf9f298499df9571c7ad96bcccbd75586f1e0
Parents: d0b6d35
Author: Brian Giori <br...@gmail.com>
Authored: Thu Jul 28 14:33:34 2016 -0700
Committer: Brian Giori <br...@gmail.com>
Committed: Thu Jul 28 14:33:34 2016 -0700
----------------------------------------------------------------------
net/nimble/host/profiles/tps/src/ble_svc_tps.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/98caf9f2/net/nimble/host/profiles/tps/src/ble_svc_tps.c
----------------------------------------------------------------------
diff --git a/net/nimble/host/profiles/tps/src/ble_svc_tps.c b/net/nimble/host/profiles/tps/src/ble_svc_tps.c
index 3e2bf42..e354eec 100644
--- a/net/nimble/host/profiles/tps/src/ble_svc_tps.c
+++ b/net/nimble/host/profiles/tps/src/ble_svc_tps.c
@@ -60,7 +60,7 @@ ble_svc_tps_access(uint16_t conn_handle, uint16_t attr_handle,
{
assert(ctxt->chr == &ble_svc_tps_defs[0].characteristics[0]);
int rc;
- switch(ctxt->op) {
+ switch (ctxt->op) {
case BLE_GATT_ACCESS_OP_READ_CHR:
ble_hci_util_read_adv_tx_pwr(&ble_svc_tps_tx_power_level);
rc = os_mbuf_append(ctxt->om, &ble_svc_tps_tx_power_level,