summaryrefslogtreecommitdiffstats
path: root/Kod/bilbana/yc4/display/define_touch_switch.m
diff options
context:
space:
mode:
authorDavid Thorén <davth346@student.liu.se>2019-11-13 12:34:55 +0100
committerDavid Thorén <davth346@student.liu.se>2019-11-13 12:34:55 +0100
commitd413cfbac66ff6de32a916d61af6f4ba77fd2eb6 (patch)
treedd55dc8c7c128d6f2b64c163c442a23b5c0a8351 /Kod/bilbana/yc4/display/define_touch_switch.m
parent3a421ed7caac62d659424f6631ae841f7ac29a4e (diff)
parent2f0a6f442b8103a95839f0e37d5689ca9cf0fe71 (diff)
downloadtfyy51-d413cfbac66ff6de32a916d61af6f4ba77fd2eb6.tar.gz
Merge branch 'display-io' into car-function
Diffstat (limited to 'Kod/bilbana/yc4/display/define_touch_switch.m')
-rw-r--r--Kod/bilbana/yc4/display/define_touch_switch.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kod/bilbana/yc4/display/define_touch_switch.m b/Kod/bilbana/yc4/display/define_touch_switch.m
index 47d3cd9..4dfc764 100644
--- a/Kod/bilbana/yc4/display/define_touch_switch.m
+++ b/Kod/bilbana/yc4/display/define_touch_switch.m
@@ -1,4 +1,4 @@
-function pkg = define_touch_key(x1, y1, x2, y2, down_code, up_code, just, text)
+function pkg = define_touch_switch(x1, y1, x2, y2, down_code, up_code, just, text)
arg_location = [get_bytes(x1), get_bytes(y1), get_bytes(x2), get_bytes(y2)];
arg_text = double(strjoin({just; text}, ''));
arg_null = 0;