Clean up debug changes

This commit is contained in:
Scott Shawcroft 2019-11-21 16:39:57 -08:00
parent e63796c7bc
commit 743bc829ab
No known key found for this signature in database
GPG Key ID: 9349BC7E64B1921E
2 changed files with 1 additions and 2 deletions

View File

@ -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;
}

View File

@ -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 {