diff options
| author | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-02-24 15:23:26 +0100 |
|---|---|---|
| committer | Scott Shawcroft <scott.shawcroft@gmail.com> | 2017-02-24 15:23:26 +0100 |
| commit | baf3ff377e752bc6f80e9d715f0ef08aacfdb2f7 (patch) | |
| tree | 33fe9a33be1211049f34708d4e727dcbe2e9192d /shared-bindings/time | |
| parent | e0ef7e309256a72a89a9949f93e75b9e0fb2b37f (diff) | |
Make more type structures const to save RAM.
Diffstat (limited to 'shared-bindings/time')
| -rw-r--r-- | shared-bindings/time/__init__.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/time/__init__.c b/shared-bindings/time/__init__.c index 9c4cee8e0..b258b3bbd 100644 --- a/shared-bindings/time/__init__.c +++ b/shared-bindings/time/__init__.c @@ -103,7 +103,7 @@ mp_obj_t struct_time_make_new(const mp_obj_type_t *type, size_t n_args, size_t n //| :param int tm_yday: the day of the year, range [1, 366], -1 indicates not known //| :param int tm_isdst: 1 when in daylight savings, 0 when not, -1 if unknown. //| -mp_obj_namedtuple_type_t struct_time_type_obj = { +const mp_obj_namedtuple_type_t struct_time_type_obj = { .base = { .base = { .type = &mp_type_type |
