diff --git a/source/btle/btle.cpp b/source/btle/btle.cpp index 2d83dd8..87a0f0a 100644 --- a/source/btle/btle.cpp +++ b/source/btle/btle.cpp @@ -154,8 +154,8 @@ static void btle_handler(ble_evt_t *p_ble_evt) const ble_gap_addr_t *own = &p_ble_evt->evt.gap_evt.params.connected.own_addr; nRF5xGap::getInstance().processConnectionEvent(handle, role, - static_cast(peer->addr_type), peer->addr, - static_cast(own->addr_type), own->addr, + static_cast(peer->addr_type), peer->addr, + static_cast(own->addr_type), own->addr, params); break; }