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/nativeio/AnalogOut.c | |
| parent | e0ef7e309256a72a89a9949f93e75b9e0fb2b37f (diff) | |
Make more type structures const to save RAM.
Diffstat (limited to 'shared-bindings/nativeio/AnalogOut.c')
| -rw-r--r-- | shared-bindings/nativeio/AnalogOut.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/nativeio/AnalogOut.c b/shared-bindings/nativeio/AnalogOut.c index a6996ba18..c34fa48f3 100644 --- a/shared-bindings/nativeio/AnalogOut.c +++ b/shared-bindings/nativeio/AnalogOut.c @@ -120,7 +120,7 @@ STATIC mp_obj_t nativeio_analogout_obj_set_value(mp_obj_t self_in, mp_obj_t valu } MP_DEFINE_CONST_FUN_OBJ_2(nativeio_analogout_set_value_obj, nativeio_analogout_obj_set_value); -mp_obj_property_t nativeio_analogout_value_obj = { +const mp_obj_property_t nativeio_analogout_value_obj = { .base.type = &mp_type_property, .proxy = {(mp_obj_t)&mp_const_none_obj, (mp_obj_t)&nativeio_analogout_set_value_obj, |
