18,11 → 18,11 |
|
/** |
------------ |
CVS : $Id: ball.c,v 1.4 2004-04-17 17:16:46 giacomo Exp $ |
CVS : $Id: ball.c,v 1.5 2004-04-18 09:45:27 giacomo Exp $ |
|
File: $File$ |
Revision: $Revision: 1.4 $ |
Last update: $Date: 2004-04-17 17:16:46 $ |
Revision: $Revision: 1.5 $ |
Last update: $Date: 2004-04-18 09:45:27 $ |
------------ |
**/ |
|
125,12 → 125,11 |
x = x0 + vx * tx; |
} |
|
task_nopreempt(); |
mutex_lock(&mutex); |
grx_disc(ox, oy, R, 0); |
task_preempt(); |
|
ox = x; |
oy = BALL_Y - y; |
mutex_unlock(&mutex); |
|
if (ballexit && i!=0xFFFF) { |
npc--; |
137,9 → 136,9 |
return 0; |
} |
|
task_nopreempt(); |
mutex_lock(&mutex); |
grx_disc(ox, oy, R, i); |
task_preempt(); |
mutex_unlock(&mutex); |
|
my_delay(); |
|