From 713458ff9c356b9d45c36033bdfa8ebd74e2a66d Mon Sep 17 00:00:00 2001 From: zer0 Date: Sat, 8 May 2010 01:11:43 +0200 Subject: [PATCH] remove unexistant balls --- projects/microb2010/mainboard/display.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/projects/microb2010/mainboard/display.py b/projects/microb2010/mainboard/display.py index 576cd25..7445e81 100644 --- a/projects/microb2010/mainboard/display.py +++ b/projects/microb2010/mainboard/display.py @@ -174,9 +174,7 @@ def init_waypoints(): (not (i == WAYPOINTS_NBX-1 and j == WAYPOINTS_NBY-1)): waypoints[i][j] = TYPE_BALL continue - if (i == 0 or i == WAYPOINTS_NBX-1) and j > 2 and \ - (not (i == 0 and j == WAYPOINTS_NBY-1)) and \ - (not (i == WAYPOINTS_NBX-1 and j == WAYPOINTS_NBY-1)): + if (i == 0 or i == WAYPOINTS_NBX-1) and j > 2 and j < 7: waypoints[i][j] = TYPE_BALL continue -- 2.20.1