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/BlynkDetectDevice.h
- Revision:
- 15:975b60f7a8ff
- Parent:
- 13:ed6276c0afb7
- Child:
- 16:6d9bf99b263c
diff -r 76d8fd871a4d -r 975b60f7a8ff Blynk/BlynkDetectDevice.h --- a/Blynk/BlynkDetectDevice.h Tue Jun 20 00:20:01 2017 +0300 +++ b/Blynk/BlynkDetectDevice.h Mon Nov 27 19:48:07 2017 +0200 @@ -13,9 +13,14 @@ // General defines +#define BLYNK_CONCAT(a, b) a ## b +#define BLYNK_CONCAT2(a, b) BLYNK_CONCAT(a, b) + #define BLYNK_STRINGIFY(x) #x #define BLYNK_TOSTRING(x) BLYNK_STRINGIFY(x) + #define BLYNK_COUNT_OF(x) ((sizeof(x)/sizeof(0[x])) / ((size_t)(!(sizeof(x) % sizeof(0[x]))))) + #define BLYNK_ATTR_PACKED __attribute__ ((__packed__)) #define BLYNK_NORETURN __attribute__ ((noreturn)) #define BLYNK_UNUSED __attribute__((__unused__))