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/06/14 16:27:30 UTC

[03/15] incubator-mynewt-core git commit: BLE Host - Log addresses in big endian.

BLE Host - Log addresses in big endian.


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

Branch: refs/heads/upf54
Commit: 69f21686d43d7451856248c607b0775898a1fbb3
Parents: 223a108
Author: Christopher Collins <cc...@apache.org>
Authored: Fri Jun 10 10:00:24 2016 +0800
Committer: Christopher Collins <cc...@apache.org>
Committed: Fri Jun 10 10:00:24 2016 +0800

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


http://git-wip-us.apache.org/repos/asf/incubator-mynewt-core/blob/69f21686/net/nimble/host/src/ble_hs_priv.h
----------------------------------------------------------------------
diff --git a/net/nimble/host/src/ble_hs_priv.h b/net/nimble/host/src/ble_hs_priv.h
index c8462bf..11a34b6 100644
--- a/net/nimble/host/src/ble_hs_priv.h
+++ b/net/nimble/host/src/ble_hs_priv.h
@@ -124,8 +124,8 @@ void ble_hci_set_phony_ack_cb(ble_hci_cmd_phony_ack_fn *cb);
 
 #define BLE_HS_LOG_ADDR(lvl, addr)                      \
     BLE_HS_LOG(lvl, "%02x:%02x:%02x:%02x:%02x:%02x",    \
-               (addr)[0], (addr)[1], (addr)[2],         \
-               (addr)[3], (addr)[4], (addr)[5])
+               (addr)[5], (addr)[4], (addr)[3],         \
+               (addr)[2], (addr)[1], (addr)[0])
 
 #if LOG_LEVEL <= LOG_LEVEL_DEBUG