summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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