diff options
| author | arturo182 <arturo182@tlen.pl> | 2018-07-22 16:06:19 +0200 |
|---|---|---|
| committer | arturo182 <arturo182@tlen.pl> | 2018-10-21 15:54:13 +0200 |
| commit | 17f13ecc2cf10975bf5ff0631ce4326b9ffbbcf5 (patch) | |
| tree | 32c1de123b15baa5e6bc77cc0dd516e5c5cff331 /shared-bindings/bleio/Service.c | |
| parent | 77eeecbfd92ab24504f0081630a3c3633c5be18b (diff) | |
nrf: Cleanup of the ble driver
Moved the functions to classes that they belong to.
Diffstat (limited to 'shared-bindings/bleio/Service.c')
| -rw-r--r-- | shared-bindings/bleio/Service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/bleio/Service.c b/shared-bindings/bleio/Service.c index 338269a5f..a2f9b9899 100644 --- a/shared-bindings/bleio/Service.c +++ b/shared-bindings/bleio/Service.c @@ -74,7 +74,7 @@ STATIC mp_obj_t bleio_service_make_new(const mp_obj_type_t *type, size_t n_args, mp_arg_check_num(n_args, n_kw, 1, 1, true); bleio_service_obj_t *self = m_new_obj(bleio_service_obj_t); self->base.type = &bleio_service_type; - self->device = mp_const_none; + self->device = NULL; self->char_list = mp_obj_new_list(0, NULL); mp_map_t kw_args; |
