summaryrefslogtreecommitdiff
path: root/shared-bindings
diff options
context:
space:
mode:
authorScott Shawcroft <scott.shawcroft@gmail.com>2016-12-20 16:39:32 -0800
committerScott Shawcroft <scott.shawcroft@gmail.com>2016-12-20 16:39:32 -0800
commitf48d2df63465e1c3f2acb6413bb4772e89069c4f (patch)
treed2aa494a1ce49424152805f64bedf467d7e345c5 /shared-bindings
parente8db23d241946c8dac2538f46f5a81b77f37d335 (diff)
atmel-samd: Improve TouchIn to allow for multiple simultaneous touch pads.
Diffstat (limited to 'shared-bindings')
-rw-r--r--shared-bindings/nativeio/TouchIn.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/shared-bindings/nativeio/TouchIn.c b/shared-bindings/nativeio/TouchIn.c
index 478fec6cd..dd7261514 100644
--- a/shared-bindings/nativeio/TouchIn.c
+++ b/shared-bindings/nativeio/TouchIn.c
@@ -126,6 +126,7 @@ mp_obj_property_t nativeio_touchin_value_obj = {
STATIC const mp_rom_map_elem_t nativeio_touchin_locals_dict_table[] = {
{ MP_ROM_QSTR(MP_QSTR___enter__), MP_ROM_PTR(&nativeio_touchin___enter___obj) },
{ MP_ROM_QSTR(MP_QSTR___exit__), MP_ROM_PTR(&nativeio_touchin___exit___obj) },
+ { MP_ROM_QSTR(MP_QSTR___del__), MP_ROM_PTR(&nativeio_touchin_deinit_obj) },
{ MP_ROM_QSTR(MP_QSTR_deinit), MP_ROM_PTR(&nativeio_touchin_deinit_obj) },
{ MP_OBJ_NEW_QSTR(MP_QSTR_value), MP_ROM_PTR(&nativeio_touchin_value_obj)},