M2XStreamClient fork with a workaround in M2XStreamClient.cpp for the MTS_Wifi_Connect_M2X example.
Dependents: STM32_MTS_Wifi_Connect_M2X M2X_STM32_MTS_Temp MTS_WiFi_Connect_M2X_Example
Fork of M2XStreamClient by
Utility.h@2:6fbc104d1321, 2014-08-26 (annotated)
- Committer:
- joe_tijerina
- Date:
- Tue Aug 26 15:20:40 2014 +0000
- Revision:
- 2:6fbc104d1321
- Parent:
- 0:f479e4f4db0e
Fixed compiler warning (added ifndef MIN to avoid defining duplicate MIN define)
Who changed what in which revision?
User | Revision | Line number | New contents of line |
---|---|---|---|
jb8414 | 0:f479e4f4db0e | 1 | #ifndef UTILITY_H_ |
jb8414 | 0:f479e4f4db0e | 2 | #define UTILITY_H_ |
jb8414 | 0:f479e4f4db0e | 3 | |
jb8414 | 0:f479e4f4db0e | 4 | #include "mbed.h" |
jb8414 | 0:f479e4f4db0e | 5 | #include <string.h> |
jb8414 | 0:f479e4f4db0e | 6 | |
jb8414 | 0:f479e4f4db0e | 7 | #ifdef __cplusplus |
jb8414 | 0:f479e4f4db0e | 8 | extern "C" { |
jb8414 | 0:f479e4f4db0e | 9 | #endif |
jb8414 | 0:f479e4f4db0e | 10 | |
jb8414 | 0:f479e4f4db0e | 11 | void delay(int ms); |
jb8414 | 0:f479e4f4db0e | 12 | char* strdup(const char* s); |
jb8414 | 0:f479e4f4db0e | 13 | |
jb8414 | 0:f479e4f4db0e | 14 | #ifdef __cplusplus |
jb8414 | 0:f479e4f4db0e | 15 | } |
jb8414 | 0:f479e4f4db0e | 16 | #endif |
jb8414 | 0:f479e4f4db0e | 17 | |
jb8414 | 0:f479e4f4db0e | 18 | #endif |