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.
Dependencies: mbed 4DGL-uLCD-SE mbed-rtos nRF24L01P
Diff: CircularBuf.h
- Revision:
- 39:54441fa8756f
- Parent:
- 38:a651c032e2b6
- Child:
- 46:62e45e6e4cdb
--- a/CircularBuf.h Sun Apr 29 15:31:27 2018 +0000 +++ b/CircularBuf.h Sun Apr 29 15:34:39 2018 +0000 @@ -24,15 +24,12 @@ CircularBuf(unsigned int size); ~CircularBuf(); /** - Pushes data onto the buffer - * @param data The array of data to add to the buffer. - * @param size The size of the array "data" - (Adds data to the buffer) - Arguement:/n - Data: The array of data to add to the buffer. - * @param size The size of the array "data" - * data, The array of data to add - * size, The amount of data in the array + * Pushes data onto the buffer + * (Adds data to the buffer) + * Arguement:/n + * Data: The array of data to add to the buffer. + * data: The array of data to add + * size: The amount of data in the array * Return: * Amount of data actually written * @@ -44,6 +41,8 @@ * buffer.push(dataToAdd, 2); * * buffer now contains [15, 23] + * @param data The array of data to add to the buffer. + * @param size The size of the array "data" */ unsigned int push(T* data, unsigned int size);