A library for talking to Multi-Tech's Cellular SocketModem Devices.
Dependents: M2X_dev axeda_wrapper_dev MTS_M2x_Example1 MTS_Cellular_Connect_Example ... more
Diff: utils/MTSCircularBuffer.h
- Revision:
- 41:81d035fb0b6a
- Parent:
- 17:2d7c4ea7491b
- Child:
- 43:3cacf019ed7d
--- a/utils/MTSCircularBuffer.h Thu Dec 19 15:56:05 2013 +0000 +++ b/utils/MTSCircularBuffer.h Thu Dec 19 21:16:30 2013 +0000 @@ -50,7 +50,7 @@ * @returns the number of bytes written in the buffer or -1 if the write failed * because the buffer was full. */ - int write(char* data, int length); + int write(const char* data, int length); /** This method writes a signle byte as a char to the buffer. *