General purpose ring buffer library
Dependents: iSerial DGWWebServer iSerial Dumb_box_rev2 ... more
Diff: RingBuffer.h
- Revision:
- 2:ea6d02ba96ae
- Parent:
- 1:1c3a10f2eb04
--- a/RingBuffer.h Fri Aug 31 17:13:40 2012 +0000 +++ b/RingBuffer.h Thu Sep 27 13:15:54 2012 +0000 @@ -14,8 +14,10 @@ protected: unsigned char* buf; - unsigned int sp; - unsigned int ep; + unsigned char* sp; + unsigned char* ep; + + int bufsize; public: