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
NullPrint.h
- Committer:
- jb8414
- Date:
- 2014-02-12
- Revision:
- 0:f479e4f4db0e
File content as of revision 0:f479e4f4db0e:
#ifndef NullPrint_h #define NullPrint_h #include "Print.h" // Null Print class used to calculate length to print class NullPrint : public Print { public: virtual size_t write(uint8_t b) { return 1; } virtual size_t write(const uint8_t* buf, size_t size) { return size; } }; #endif /* NullPrint_h */