From 5d9c191a198e3d9945010deb4a550a60f2f98505 Mon Sep 17 00:00:00 2001 From: Glenn Ruben Bakke Date: Sun, 14 May 2017 18:37:41 +0200 Subject: [PATCH] nrf5/modules/ubluepy: Fixing type in ubluepy_peripheral.c. --- nrf5/modules/ubluepy/ubluepy_peripheral.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nrf5/modules/ubluepy/ubluepy_peripheral.c b/nrf5/modules/ubluepy/ubluepy_peripheral.c index f2a99508f1..a54fe2e673 100644 --- a/nrf5/modules/ubluepy/ubluepy_peripheral.c +++ b/nrf5/modules/ubluepy/ubluepy_peripheral.c @@ -347,7 +347,7 @@ STATIC mp_obj_t peripheral_connect(mp_uint_t n_args, const mp_obj_t *pos_args, m ubluepy_peripheral_obj_t *self = MP_OBJ_TO_PTR(pos_args[0]); mp_obj_t dev_addr = pos_args[1]; - self->role = self->role = UBLUEPY_ROLE_CENTRAL; + self->role = UBLUEPY_ROLE_CENTRAL; static const mp_arg_t allowed_args[] = { { MP_QSTR_addr_type, MP_ARG_KW_ONLY | MP_ARG_INT, {.u_int = UBLUEPY_ADDR_TYPE_PUBLIC } },