git.droids-corp.org
/
aversive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (from parent 1:
4d3c74b
)
remove unexistant balls
author
zer0
<zer0@carbon.local>
Fri, 7 May 2010 23:11:43 +0000
(
01:11
+0200)
committer
zer0
<zer0@carbon.local>
Fri, 7 May 2010 23:11:43 +0000
(
01:11
+0200)
projects/microb2010/mainboard/display.py
patch
|
blob
|
history
diff --git
a/projects/microb2010/mainboard/display.py
b/projects/microb2010/mainboard/display.py
index
576cd25
..
7445e81
100644
(file)
--- 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
(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
waypoints[i][j] = TYPE_BALL
continue