tests/lwip_sock_tcp: remove duplicated xtimer_init
xtimer is already initiated in auto_init, no need to perform initiation twice.
This commit is contained in:
parent
ffb7512dfc
commit
7ec1d2ecb7
@ -965,7 +965,6 @@ int main(void)
|
|||||||
code |= (1 << 6);
|
code |= (1 << 6);
|
||||||
#endif
|
#endif
|
||||||
printf("code 0x%02x\n", code);
|
printf("code 0x%02x\n", code);
|
||||||
xtimer_init();
|
|
||||||
_net_init();
|
_net_init();
|
||||||
expect(0 < thread_create(_client_stack, sizeof(_client_stack),
|
expect(0 < thread_create(_client_stack, sizeof(_client_stack),
|
||||||
THREAD_PRIORITY_MAIN - 1, THREAD_CREATE_STACKTEST,
|
THREAD_PRIORITY_MAIN - 1, THREAD_CREATE_STACKTEST,
|
||||||
|
|||||||
@ -24,6 +24,5 @@
|
|||||||
|
|
||||||
void _net_init(void)
|
void _net_init(void)
|
||||||
{
|
{
|
||||||
xtimer_init();
|
|
||||||
lwip_bootstrap();
|
lwip_bootstrap();
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user