diff options
| author | Scott Shawcroft <scott@tannewt.org> | 2019-01-14 18:08:45 -0800 |
|---|---|---|
| committer | Scott Shawcroft <scott@tannewt.org> | 2019-01-14 18:08:45 -0800 |
| commit | bd3c36ce6d3b440dcb7591cacccbd2bc72a2268c (patch) | |
| tree | 4c112251295a7f786b62405c64f884b98300edf0 /shared-bindings/bleio/ScanEntry.c | |
| parent | 12c8b00556859bd9dc97b4f11761f45ad23098a3 (diff) | |
fixup m0 and nrf
Diffstat (limited to 'shared-bindings/bleio/ScanEntry.c')
| -rw-r--r-- | shared-bindings/bleio/ScanEntry.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/bleio/ScanEntry.c b/shared-bindings/bleio/ScanEntry.c index e452c7267..b4a3c5504 100644 --- a/shared-bindings/bleio/ScanEntry.c +++ b/shared-bindings/bleio/ScanEntry.c @@ -248,7 +248,7 @@ STATIC mp_obj_t scanentry_get_service_uuids(mp_obj_t self_in) { mp_obj_t entries = mp_obj_new_list(0, NULL); for (size_t i = 0; i < uuids_len / sizeof(uint16_t); ++i) { const mp_obj_t uuid_int = mp_obj_new_int(uuids[sizeof(uint16_t) * i] | (uuids[sizeof(uint16_t) * i + 1] << 8)); - const mp_obj_t uuid_obj = bleio_uuid_type.make_new(&bleio_uuid_type, 1, 0, &uuid_int); + const mp_obj_t uuid_obj = bleio_uuid_type.make_new(&bleio_uuid_type, 1, &uuid_int, NULL); mp_obj_list_append(entries, uuid_obj); } |
