1
0
mirror of https://github.com/esp8266/Arduino.git synced 2025-06-12 01:53:07 +03:00

add synchronous ota

This commit is contained in:
John Doe
2015-07-10 22:21:48 +03:00
parent e7b7d6d8b7
commit b605ab316e
4 changed files with 8 additions and 8 deletions

View File

@ -15,12 +15,6 @@ struct ip_info {
struct ip_addr gw;
};
#define IP4_ADDR(ipaddr, a,b,c,d) \
(ipaddr)->addr = ((uint32)((d) & 0xff) << 24) | \
((uint32)((c) & 0xff) << 16) | \
((uint32)((b) & 0xff) << 8) | \
(uint32)((a) & 0xff)
/**
* Determine if two address are on the same network.
*