summaryrefslogtreecommitdiffstats
path: root/Kod/bilbana/yc4/display/set_touch_sound_response.m
diff options
context:
space:
mode:
authorGustav Sörnäs <gusso230@student.liu.se>2019-10-27 14:26:09 +0100
committerGustav Sörnäs <gusso230@student.liu.se>2019-10-27 14:26:09 +0100
commit0d761ebf3811ae20d74bbce8f4988c3a7ab8349d (patch)
treed0e17ff7fc1f23634b952b9739397dd749a5be66 /Kod/bilbana/yc4/display/set_touch_sound_response.m
parentc899eb8386e3e976260c7769bdcd65e034959f67 (diff)
downloadtfyy51-0d761ebf3811ae20d74bbce8f4988c3a7ab8349d.tar.gz
Second wave
Diffstat (limited to 'Kod/bilbana/yc4/display/set_touch_sound_response.m')
-rw-r--r--Kod/bilbana/yc4/display/set_touch_sound_response.m7
1 files changed, 7 insertions, 0 deletions
diff --git a/Kod/bilbana/yc4/display/set_touch_sound_response.m b/Kod/bilbana/yc4/display/set_touch_sound_response.m
new file mode 100644
index 0000000..851eaf2
--- /dev/null
+++ b/Kod/bilbana/yc4/display/set_touch_sound_response.m
@@ -0,0 +1,7 @@
+function pkg = set_touch_sound_response(state)
+ if state == true
+ pkg = get_package('AS', [1]);
+ else
+ pkg = get_package('AS', [0]);
+ end
+end