mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
destiny.c: fix usage of timex_t
This commit is contained in:
parent
31849f0771
commit
0934d10e4b
@ -55,7 +55,7 @@ int destiny_init_transport_layer(void)
|
||||
/* TCP */
|
||||
timex_t now;
|
||||
vtimer_now(&now);
|
||||
srand(now.microseconds);
|
||||
srand(timex_uint64(now));
|
||||
#ifdef TCP_HC
|
||||
printf("TCP_HC enabled!\n");
|
||||
global_context_counter = rand();
|
||||
|
Loading…
Reference in New Issue
Block a user