summaryrefslogtreecommitdiff
path: root/shared-bindings/_bleio/Address.c
diff options
context:
space:
mode:
Diffstat (limited to 'shared-bindings/_bleio/Address.c')
-rw-r--r--shared-bindings/_bleio/Address.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/shared-bindings/_bleio/Address.c b/shared-bindings/_bleio/Address.c
index 04c667db4..56e8a013f 100644
--- a/shared-bindings/_bleio/Address.c
+++ b/shared-bindings/_bleio/Address.c
@@ -141,7 +141,7 @@ STATIC mp_obj_t bleio_address_binary_op(mp_binary_op_t op, mp_obj_t lhs_in, mp_o
bleio_address_obj_t *rhs = MP_OBJ_TO_PTR(rhs_in);
return mp_obj_new_bool(
mp_obj_equal(common_hal_bleio_address_get_address_bytes(lhs),
- common_hal_bleio_address_get_address_bytes(rhs)) &&
+ common_hal_bleio_address_get_address_bytes(rhs)) &&
common_hal_bleio_address_get_type(lhs) ==
common_hal_bleio_address_get_type(rhs));
@@ -182,9 +182,9 @@ STATIC void bleio_address_print(const mp_print_t *print, mp_obj_t self_in, mp_pr
mp_obj_t address_bytes = common_hal_bleio_address_get_address_bytes(self);
mp_get_buffer_raise(address_bytes, &buf_info, MP_BUFFER_READ);
- const uint8_t *buf = (uint8_t *) buf_info.buf;
+ const uint8_t *buf = (uint8_t *)buf_info.buf;
mp_printf(print, "<Address %02x:%02x:%02x:%02x:%02x:%02x>",
- buf[5], buf[4], buf[3], buf[2], buf[1], buf[0]);
+ buf[5], buf[4], buf[3], buf[2], buf[1], buf[0]);
}
//| PUBLIC: int
@@ -220,5 +220,5 @@ const mp_obj_type_t bleio_address_type = {
.print = bleio_address_print,
.unary_op = bleio_address_unary_op,
.binary_op = bleio_address_binary_op,
- .locals_dict = (mp_obj_dict_t*)&bleio_address_locals_dict
+ .locals_dict = (mp_obj_dict_t *)&bleio_address_locals_dict
};