Repository: incubator-mynewt-core Updated Branches: refs/heads/1_0_0_b1_dev 8962cd4c8 -> aa214cc43
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/aa214cc4 Tree: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/tree/aa214cc4 Diff: http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/diff/aa214cc4 Branch: refs/heads/1_0_0_b1_dev Commit: aa214cc43300267a1b948fbe458e586bc2d10279 Parents: 8962cd4 Author: Christopher Collins <[email protected]> Authored: Mon Nov 14 10:57:52 2016 -0800 Committer: Christopher Collins <[email protected]> Committed: Mon Nov 14 14:25:12 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/aa214cc4/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) {
