fix(sharedmem): Default constructor

This commit is contained in:
CarlWachter 2024-06-22 15:13:31 +02:00
parent ff1cbf8473
commit 73b1889546
2 changed files with 1 additions and 9 deletions

View File

@ -25,15 +25,12 @@ namespace sta
using Message = T; /**< message type */
public:
// Default Constructor
RtosSharedMem();
/**
* @brief Create a memory pool. And allocates exavlty one block.
*
* @param timeout names the timeout in milliseconds.
*/
RtosSharedMem(uint32_t timeout);
RtosSharedMem(uint32_t timeout = osWaitForever);
/**
* @brief Destroy the Rtos Mem Pool object and frees the memory.

View File

@ -10,11 +10,6 @@
namespace sta
{
template <typename T>
RtosSharedMem<T>::RtosSharedMem()
{
}
template <typename T>
RtosSharedMem<T>::RtosSharedMem(uint32_t timeout /* = osWaitForever */)
{