mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 09:16:20 +00:00
Fix initialization of mqtt example IP
This commit is contained in:
parent
0df1559056
commit
93c3cfd2b1
@ -37,7 +37,7 @@
|
|||||||
*/
|
*/
|
||||||
#ifndef LWIP_MQTT_EXAMPLE_IPADDR_INIT
|
#ifndef LWIP_MQTT_EXAMPLE_IPADDR_INIT
|
||||||
#if LWIP_IPV4
|
#if LWIP_IPV4
|
||||||
#define LWIP_MQTT_EXAMPLE_IPADDR_INIT = IPADDR4_INIT(IPADDR_LOOPBACK)
|
#define LWIP_MQTT_EXAMPLE_IPADDR_INIT = IPADDR4_INIT(PP_HTONL(IPADDR_LOOPBACK))
|
||||||
#else
|
#else
|
||||||
#define LWIP_MQTT_EXAMPLE_IPADDR_INIT
|
#define LWIP_MQTT_EXAMPLE_IPADDR_INIT
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user