File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
targets/TARGET_Infineon/TARGET_XMC4XXX/VirtualSerial Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 14
14
* limitations under the License.
15
15
*/
16
16
17
- // library provided by https://github.com/wizard97/Embedded_RingBuf_CPP
18
-
19
- #ifndef MBED_OS_CIRCULAR_BUFFER_H_
20
- #define MBED_OS_CIRCULAR_BUFFER_H_
17
+ #ifndef RING_BUFF_H_
18
+ #define RING_BUFF_H_
21
19
22
20
#include " mbed.h"
23
- #include " rtos.h"
24
21
25
22
template <typename Type, size_t MaxElements>
26
23
class RingBuff
@@ -38,7 +35,7 @@ RingBuff()
38
35
}
39
36
40
37
/* *
41
- * Add element obj to the buffer
38
+ * Add element obj to the buffer
42
39
* Return: true on success
43
40
*/
44
41
bool add (const Type &obj)
@@ -174,6 +171,6 @@ size_t _numElements;
174
171
175
172
};
176
173
177
- #endif /* MBED_OS_CIRCULAR_BUFFER_H_ */
174
+ #endif /* RING_BUFF_H_ */
178
175
179
176
/* EOF*/
You can’t perform that action at this time.
0 commit comments