summaryrefslogtreecommitdiff
path: root/py/obj.h
diff options
context:
space:
mode:
authorDan Halbert <halbert@halwitz.org>2018-12-30 22:31:51 -0500
committerDan Halbert <halbert@halwitz.org>2018-12-30 22:33:49 -0500
commit1dc3957e729a7bf4d6476c587f140e3d42fd1bd5 (patch)
tree857c9a490c17f53884c791726570ffb36df52558 /py/obj.h
parentef39e72c7c3c3e68f73f670b7f8b7f08e813be39 (diff)
LocalPeripheral is now Peripheral; more work on basic GATTS support; UART not working yet
Diffstat (limited to 'py/obj.h')
-rw-r--r--py/obj.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/py/obj.h b/py/obj.h
index 8b6772873..ece3b0ee0 100644
--- a/py/obj.h
+++ b/py/obj.h
@@ -640,6 +640,7 @@ mp_obj_t mp_obj_new_str_via_qstr(const char* data, size_t len);
mp_obj_t mp_obj_new_str_from_vstr(const mp_obj_type_t *type, vstr_t *vstr);
mp_obj_t mp_obj_new_bytes(const byte* data, size_t len);
mp_obj_t mp_obj_new_bytearray(size_t n, void *items);
+mp_obj_t mp_obj_new_bytearray_of_zeros(size_t n);
mp_obj_t mp_obj_new_bytearray_by_ref(size_t n, void *items);
#if MICROPY_PY_BUILTINS_FLOAT
mp_obj_t mp_obj_new_int_from_float(mp_float_t val);