diff options
| author | Dan Halbert <halbert@halwitz.org> | 2018-12-29 13:55:10 -0500 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2018-12-29 13:55:10 -0500 |
| commit | ef39e72c7c3c3e68f73f670b7f8b7f08e813be39 (patch) | |
| tree | 056b5177b68722efa7626bbf8035e48fc9dc697d /shared-module | |
| parent | de7cadb9b2484348aa52addbae76041236682933 (diff) | |
free event handlers on reset; fix typo in Broadcaster
Diffstat (limited to 'shared-module')
| -rw-r--r-- | shared-module/bleio/Service.h | 2 | ||||
| -rw-r--r-- | shared-module/bleio/__init__.h | 6 |
2 files changed, 1 insertions, 7 deletions
diff --git a/shared-module/bleio/Service.h b/shared-module/bleio/Service.h index 540749793..7fee57f1d 100644 --- a/shared-module/bleio/Service.h +++ b/shared-module/bleio/Service.h @@ -34,7 +34,7 @@ typedef struct { uint16_t handle; bool is_secondary; bleio_uuid_obj_t *uuid; - // May be a LocalPeripheral, RemotePeripheral, etc. + // May be a PeripheralServer, CentralClient, etc. mp_obj_t *device; mp_obj_t char_list; uint16_t start_handle; diff --git a/shared-module/bleio/__init__.h b/shared-module/bleio/__init__.h index 07d148594..f8f0e0660 100644 --- a/shared-module/bleio/__init__.h +++ b/shared-module/bleio/__init__.h @@ -27,12 +27,6 @@ #ifndef MICROPY_INCLUDED_SHARED_MODULE_BLEIO_INIT_H #define MICROPY_INCLUDED_SHARED_MODULE_BLEIO_INIT_H -typedef enum { - GATT_ROLE_NONE, - GATT_ROLE_SERVER, - GATT_ROLE_CLIENT, -} gatt_role_t; - extern void bleio_reset(void); #endif // MICROPY_INCLUDED_SHARED_MODULE_BLEIO_INIT_H |
