summaryrefslogtreecommitdiff
path: root/shared-bindings/nativeio/TouchIn.c
diff options
context:
space:
mode:
authorScott Shawcroft <scott.shawcroft@gmail.com>2017-02-24 15:23:26 +0100
committerScott Shawcroft <scott.shawcroft@gmail.com>2017-02-24 15:23:26 +0100
commitbaf3ff377e752bc6f80e9d715f0ef08aacfdb2f7 (patch)
tree33fe9a33be1211049f34708d4e727dcbe2e9192d /shared-bindings/nativeio/TouchIn.c
parente0ef7e309256a72a89a9949f93e75b9e0fb2b37f (diff)
Make more type structures const to save RAM.
Diffstat (limited to 'shared-bindings/nativeio/TouchIn.c')
-rw-r--r--shared-bindings/nativeio/TouchIn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/nativeio/TouchIn.c b/shared-bindings/nativeio/TouchIn.c
index 90b86f42f..b0b5f46e2 100644
--- a/shared-bindings/nativeio/TouchIn.c
+++ b/shared-bindings/nativeio/TouchIn.c
@@ -114,7 +114,7 @@ STATIC mp_obj_t nativeio_touchin_obj_get_value(mp_obj_t self_in) {
}
MP_DEFINE_CONST_FUN_OBJ_1(nativeio_touchin_get_value_obj, nativeio_touchin_obj_get_value);
-mp_obj_property_t nativeio_touchin_value_obj = {
+const mp_obj_property_t nativeio_touchin_value_obj = {
.base.type = &mp_type_property,
.proxy = {(mp_obj_t)&nativeio_touchin_get_value_obj,
(mp_obj_t)&mp_const_none_obj,