summaryrefslogtreecommitdiffstats
path: root/Kod
diff options
context:
space:
mode:
authorGustav Sörnäs <gusso230@student.liu.se>2019-11-12 12:34:58 +0100
committerGustav Sörnäs <gusso230@student.liu.se>2019-11-12 12:35:05 +0100
commitf735459829046e9e2a9911d8cf31546a5bebefee (patch)
tree0a149969d168ec9d6dee74f504e5ed2abea68d71 /Kod
parentca01e2e6e69fd702ed2f4cf56d6323593bea3278 (diff)
downloadtfyy51-f735459829046e9e2a9911d8cf31546a5bebefee.tar.gz
fix func name
Diffstat (limited to 'Kod')
-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;