aboutsummaryrefslogtreecommitdiff
path: root/ports/nrf/modules/ubluepy/ubluepy_scan_entry.c
diff options
context:
space:
mode:
Diffstat (limited to 'ports/nrf/modules/ubluepy/ubluepy_scan_entry.c')
-rw-r--r--ports/nrf/modules/ubluepy/ubluepy_scan_entry.c2
1 files changed, 1 insertions, 1 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);
}
}