1
0
forked from fsfw/fsfw

added additional calls

This commit is contained in:
2020-08-04 11:47:47 +02:00
parent 6b475792a4
commit 4dcfa5125e
4 changed files with 21 additions and 3 deletions

View File

@ -34,6 +34,14 @@ public:
void setMutexTimeout(dur_millis_t newTimeout);
virtual size_t getExcessBytes() const override;
/**
* Helper functions which moves any excess bytes to the start
* of the ring buffer.
* @return
*/
virtual void moveExcessBytesToStart() override;
/** Performs mutex protected SimpleRingBuffer::getFreeElement call */
ReturnValue_t getFreeElementProtected(uint8_t** writePtr, size_t amount);