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/17 02:31:55 UTC

[3/5] incubator-mynewt-core git commit: BLE Host - Compilation error for SC without DEBUG.

BLE Host - Compilation error for SC without DEBUG.


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/a38b7573
Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/a38b7573
Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/a38b7573

Branch: refs/heads/develop
Commit: a38b75732363899ab24cf1a47de5aa9a4e778c62
Parents: 562093f
Author: Christopher Collins <cc...@apache.org>
Authored: Mon Nov 14 10:57:52 2016 -0800
Committer: Christopher Collins <cc...@apache.org>
Committed: Wed Nov 16 18:31:44 2016 -0800

----------------------------------------------------------------------
 net/nimble/host/src/ble_sm_sc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/a38b7573/net/nimble/host/src/ble_sm_sc.c
----------------------------------------------------------------------
diff --git a/net/nimble/host/src/ble_sm_sc.c b/net/nimble/host/src/ble_sm_sc.c
index 19a5ca9..11b29a1 100644
--- a/net/nimble/host/src/ble_sm_sc.c
+++ b/net/nimble/host/src/ble_sm_sc.c
@@ -89,12 +89,12 @@ static const uint8_t ble_sm_sc_resp_ioa[5 /*resp*/ ][5 /*init*/ ] =
       {IOACT_INPUT,   IOACT_NUMCMP, IOACT_DISP,  IOACT_NONE, IOACT_NUMCMP},
 };
 
+#if MYNEWT_VAL(BLE_HS_DEBUG)
+
 static uint8_t ble_sm_dbg_sc_pub_key[64];
 static uint8_t ble_sm_dbg_sc_priv_key[32];
 static uint8_t ble_sm_dbg_sc_keys_set;
 
-#if MYNEWT_VAL(BLE_HS_DEBUG)
-
 void
 ble_sm_dbg_set_sc_keys(uint8_t *pubkey, uint8_t *privkey)
 {