Clean up debug changes

crypto-aes
Scott Shawcroft 3 years ago
parent e63796c7bc
commit 743bc829ab
No known key found for this signature in database
GPG Key ID: 9349BC7E64B1921E
  1. 1
      ports/nrf/common-hal/_bleio/Connection.c
  2. 2
      shared-bindings/_bleio/Characteristic.c

@ -290,7 +290,6 @@ STATIC bool discover_next_characteristics(bleio_connection_internal_t* connectio
uint32_t err_code = sd_ble_gattc_characteristics_discover(connection->conn_handle, &handle_range);
if (err_code != NRF_SUCCESS) {
asm("bkpt");
return false;
}

@ -338,7 +338,7 @@ STATIC MP_DEFINE_CONST_DICT(bleio_characteristic_locals_dict, bleio_characterist
STATIC void bleio_characteristic_print(const mp_print_t *print, mp_obj_t self_in, mp_print_kind_t kind) {
bleio_characteristic_obj_t *self = MP_OBJ_TO_PTR(self_in);
if (self->uuid) {
mp_printf(print, "0x%08x Characteristic(", (uint32_t) self_in);
mp_printf(print, "Characteristic(");
bleio_uuid_print(print, MP_OBJ_FROM_PTR(self->uuid), kind);
mp_printf(print, ")");
} else {

Loading…
Cancel
Save