Revision 1992
Temporary hack to make sure bot that announces it has exited is really clear of
intersection.
main-new.c | ||
---|---|---|
249 | 249 |
break; |
250 | 250 |
} |
251 | 251 |
} |
252 |
//hack to make sure bot that just left intersection is |
|
253 |
//really out of the intersection. |
|
254 |
rtc_reset(); |
|
255 |
while(rtc_get() < 16){//wait one second |
|
256 |
wirelessPacketHandle(state); |
|
257 |
} |
|
258 |
|
|
252 | 259 |
state = SINTERSECTION_DRIVE; |
253 | 260 |
break; |
254 |
|
|
255 | 261 |
case SINTERSECTION_DRIVE: |
256 | 262 |
DBG_USBS("STATE: SINTERSECTION_DRIVE\n"); |
257 | 263 |
|
Also available in: Unified diff