diff options
| author | Dan Halbert <halbert@halwitz.org> | 2018-07-28 13:29:47 -0400 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2018-07-28 13:29:47 -0400 |
| commit | f48b70050e3e4122eaae3eee47d35fc30bda2a4c (patch) | |
| tree | 7d2dacc3c137276e9d0838b571c84c09e78acc42 /ports/nrf | |
| parent | bc760dd34100099c352a0f185ec54ceae23d036d (diff) | |
merge finished
Diffstat (limited to 'ports/nrf')
| -rw-r--r-- | ports/nrf/modules/ubluepy/ubluepy_scan_entry.c | 2 | ||||
| -rw-r--r-- | ports/nrf/modules/ubluepy/ubluepy_scanner.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/ports/nrf/modules/ubluepy/ubluepy_scan_entry.c b/ports/nrf/modules/ubluepy/ubluepy_scan_entry.c index 8a936d592..773070b08 100644 --- a/ports/nrf/modules/ubluepy/ubluepy_scan_entry.c +++ b/ports/nrf/modules/ubluepy/ubluepy_scan_entry.c @@ -109,7 +109,7 @@ STATIC mp_obj_t scan_entry_get_scan_data(mp_obj_t self_in) { vstr_t vstr; vstr_init(&vstr, len); vstr_printf(&vstr, "%s", text); - description = mp_obj_new_str(vstr.buf, vstr.len, false); + description = mp_obj_new_str(vstr.buf, vstr.len); vstr_clear(&vstr); } } diff --git a/ports/nrf/modules/ubluepy/ubluepy_scanner.c b/ports/nrf/modules/ubluepy/ubluepy_scanner.c index c92b7fd87..1cde3d551 100644 --- a/ports/nrf/modules/ubluepy/ubluepy_scanner.c +++ b/ports/nrf/modules/ubluepy/ubluepy_scanner.c @@ -49,7 +49,7 @@ STATIC void adv_event_handler(mp_obj_t self_in, uint16_t event_id, ble_drv_adv_d data->p_peer_addr[5], data->p_peer_addr[4], data->p_peer_addr[3], data->p_peer_addr[2], data->p_peer_addr[1], data->p_peer_addr[0]); - item->addr = mp_obj_new_str(vstr.buf, vstr.len, false); + item->addr = mp_obj_new_str(vstr.buf, vstr.len); vstr_clear(&vstr); |
