Blynk library for embedded hardware. Works with Arduino, ESP8266, Raspberry Pi, Intel Edison/Galileo, LinkIt ONE, Particle Core/Photon, Energia, ARM mbed, etc. http://www.blynk.cc/
Dependents: Blynk_RBL_BLE_Nano Blynk_MicroBit Blynk_Serial Blynk_RBL_BLE_Nano
Diff: Blynk/BlynkProtocolDefs.h
- Revision:
- 16:6d9bf99b263c
- Parent:
- 15:975b60f7a8ff
- Child:
- 19:bae78e167b11
diff -r 975b60f7a8ff -r 6d9bf99b263c Blynk/BlynkProtocolDefs.h --- a/Blynk/BlynkProtocolDefs.h Mon Nov 27 19:48:07 2017 +0200 +++ b/Blynk/BlynkProtocolDefs.h Mon Nov 27 23:01:23 2017 +0200 @@ -93,7 +93,7 @@ } BLYNK_ATTR_PACKED; -#if !defined(ESP32) && (defined(ARDUINO) || defined(ESP8266) || defined(PARTICLE) || defined(MBED_LIBRARY_VERSION)) +#if !defined(ESP32) && (defined(ARDUINO) || defined(ESP8266) || defined(PARTICLE) || defined(__MBED__)) #if __BYTE_ORDER__ == __ORDER_LITTLE_ENDIAN__ #define htons(x) ( ((x)<<8) | (((x)>>8)&0xFF) ) #define htonl(x) ( ((x)<<24 & 0xFF000000UL) | \