Changed HTONS to uip_htons
This commit is contained in:
parent
571519db97
commit
f9d5815e19
|
@ -595,7 +595,7 @@ PROCESS_THREAD(http_server, ev, data)
|
||||||
PRINTF("##RF CHANNEL : %d##\n",RF_CHANNEL);
|
PRINTF("##RF CHANNEL : %d##\n",RF_CHANNEL);
|
||||||
#endif //CONTIKI_TARGET_SKY
|
#endif //CONTIKI_TARGET_SKY
|
||||||
|
|
||||||
tcp_listen(HTONS(HTTP_PORT));
|
tcp_listen(uip_htons(HTTP_PORT));
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* We loop for ever, accepting new connections.
|
* We loop for ever, accepting new connections.
|
||||||
|
|
Loading…
Reference in a new issue