diff options
| author | Dan Halbert <halbert@halwitz.org> | 2018-12-30 22:31:51 -0500 |
|---|---|---|
| committer | Dan Halbert <halbert@halwitz.org> | 2018-12-30 22:33:49 -0500 |
| commit | 1dc3957e729a7bf4d6476c587f140e3d42fd1bd5 (patch) | |
| tree | 857c9a490c17f53884c791726570ffb36df52558 /py/obj.h | |
| parent | ef39e72c7c3c3e68f73f670b7f8b7f08e813be39 (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.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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); |
