mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-12-25 00:14:02 +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
|
||||
#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
|
||||
#define LWIP_MQTT_EXAMPLE_IPADDR_INIT
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user