Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of RingBuffer by
Revision 3:8e9292ecb56c, committed 2016-06-07
- Comitter:
- palmdotax
- Date:
- Tue Jun 07 03:14:41 2016 +0000
- Parent:
- 2:ea6d02ba96ae
- Commit message:
- 5555+;
Changed in this revision
RingBuffer.h | Show annotated file Show diff for this revision Revisions of this file |
diff -r ea6d02ba96ae -r 8e9292ecb56c RingBuffer.h --- a/RingBuffer.h Thu Sep 27 13:15:54 2012 +0000 +++ b/RingBuffer.h Tue Jun 07 03:14:41 2016 +0000 @@ -27,8 +27,8 @@ int save(unsigned char c); unsigned char read(void); int check(void); - int buffersize(void){return bufsize;}; - int full(void){ return (check()>=bufsize-1 ? 1 : 0); }; + int buffersize(void){return bufsize;} + int full(void){ return (check()>=bufsize-1 ? 1 : 0); } };