Clean up debug changes
This commit is contained in:
parent
e63796c7bc
commit
743bc829ab
@ -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);
|
uint32_t err_code = sd_ble_gattc_characteristics_discover(connection->conn_handle, &handle_range);
|
||||||
if (err_code != NRF_SUCCESS) {
|
if (err_code != NRF_SUCCESS) {
|
||||||
asm("bkpt");
|
|
||||||
return false;
|
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) {
|
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);
|
bleio_characteristic_obj_t *self = MP_OBJ_TO_PTR(self_in);
|
||||||
if (self->uuid) {
|
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);
|
bleio_uuid_print(print, MP_OBJ_FROM_PTR(self->uuid), kind);
|
||||||
mp_printf(print, ")");
|
mp_printf(print, ")");
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user