Revision 1452 trunk/code/projects/test/test_tokenring.c
| test_tokenring.c (revision 1452) | ||
|---|---|---|
| 25 | 25 |
wl_token_ring_register(); |
| 26 | 26 |
wl_token_ring_join(); // join token ring |
| 27 | 27 |
usb_puts("token ring joined\r\n");
|
| 28 |
int* robotList = (int*)malloc(sizeof(int)*MAX_ROBOTS); |
|
| 28 |
int robotList[sizeof(int)*MAX_ROBOTS]; |
|
| 29 | 29 |
int numRobots = 0; |
| 30 | 30 |
delay_ms(1000); |
| 31 | 31 |
|
Also available in: Unified diff