Revision 1452
update of includes in library, removed unnecessary calls to stdlib.h
test_tokenring.c | ||
---|---|---|
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