From d963e174c1ab177a934797c87dcb466b2f9ecd19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gustav=20S=C3=B6rn=C3=A4s?= Date: Wed, 20 Nov 2019 18:12:09 +0100 Subject: Changes --- Kod/bilbana/yc4/display/bar_graph.m | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'Kod/bilbana') 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 -- cgit v1.2.1