summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGustav Sörnäs <gusso230@student.liu.se>2019-11-20 18:12:09 +0100
committerGustav Sörnäs <gusso230@student.liu.se>2019-11-20 18:12:09 +0100
commitd963e174c1ab177a934797c87dcb466b2f9ecd19 (patch)
tree3317772222b8bc9a7e4b631fc89c7dd21e95ea0c
parent7a0bb9ef69a74b67938af164fb541933ee33c9f5 (diff)
downloadtfyy51-d963e174c1ab177a934797c87dcb466b2f9ecd19.tar.gz
Changes
-rw-r--r--Kod/bilbana/yc4/display/bar_graph.m7
1 files changed, 3 insertions, 4 deletions
diff --git a/Kod/bilbana/yc4/display/bar_graph.m b/Kod/bilbana/yc4/display/bar_graph.m
index e7c4b2c..bc04406 100644
--- a/Kod/bilbana/yc4/display/bar_graph.m
+++ b/Kod/bilbana/yc4/display/bar_graph.m
@@ -1,7 +1,6 @@
function pkg = bar_graph(direction, no, x1, y1, x2, y2, start_value, end_value, type, pattern)
-pkg = []
-args = [no, get_bytes(x1), get_bytes(y1), get_bytes(x2), get_bytes(y2)]
-args = [args, start_value, end_value, type, pattern] %TODO get_bytes or no ?
+args = [no, get_bytes(x1), get_bytes(y1), get_bytes(x2), get_bytes(y2)];
+args = [args, start_value, end_value, type, pattern]; %TODO get_bytes or no ?
-pkg = get_package(strjoin({'B', direction}, ''), args)
+pkg = get_package(strjoin({'B', direction}, ''), args);
end