Skip to content

Commit e534f3b

Browse files
fix erroneous assert
1 parent ff7b138 commit e534f3b

File tree

1 file changed

+1
-1
lines changed
  • features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NRF51/source

1 file changed

+1
-1
lines changed

features/FEATURE_BLE/targets/TARGET_NORDIC/TARGET_NRF51/source/nRF5xGap.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1266,7 +1266,7 @@ void nRF5xGap::on_connection(Gap::Handle_t handle, const ble_gap_evt_connected_t
12661266
const resolving_list_entry_t* entry = get_sm().resolve_address(
12671267
evt.peer_addr.addr
12681268
);
1269-
MBED_ASSERT(entry == NULL);
1269+
MBED_ASSERT(entry != NULL);
12701270

12711271
peer_addr_type = convert_identity_address(entry->peer_identity_address_type);
12721272
peer_address = entry->peer_identity_address.data();

0 commit comments

Comments
 (0)