summaryrefslogtreecommitdiffstats
path: root/Kod/bilbana/yc4/main.m
diff options
context:
space:
mode:
authorGustav Sörnäs <gusso230@student.liu.se>2019-11-16 12:30:59 +0100
committerGustav Sörnäs <gusso230@student.liu.se>2019-11-16 12:33:23 +0100
commitc0c94aa155dd626343beb883f5223d7c59202ff0 (patch)
treedb3adee69ba1293ffaa9db4f1fd377ab13266f2b /Kod/bilbana/yc4/main.m
parentaa20fb4b9545fa6e4bef944c9deb10d1f3fbe38d (diff)
downloadtfyy51-c0c94aa155dd626343beb883f5223d7c59202ff0.tar.gz
Correct dimensions and move check
Diffstat (limited to 'Kod/bilbana/yc4/main.m')
-rw-r--r--Kod/bilbana/yc4/main.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Kod/bilbana/yc4/main.m b/Kod/bilbana/yc4/main.m
index d15cace..74badfd 100644
--- a/Kod/bilbana/yc4/main.m
+++ b/Kod/bilbana/yc4/main.m
@@ -119,7 +119,7 @@ while 1
[car1, car1.stop, display.data] = do_car(car1, t, display.data);
[car2, car2.stop, display.data] = do_car(car2, t, display.data);
- if car1.stop == true
+ if car1.stop == true
disp('stopped by car 1');
break;
end