1
0
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:
Christian Mehlis 2013-12-25 17:34:30 +01:00
parent 31849f0771
commit 0934d10e4b

View File

@ -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();