mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/rtos2-utils.git
synced 2025-06-10 01:55:59 +00:00
fix(sharedmem): Default constructor
This commit is contained in:
parent
ff1cbf8473
commit
73b1889546
@ -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.
|
||||
|
@ -10,11 +10,6 @@
|
||||
|
||||
namespace sta
|
||||
{
|
||||
template <typename T>
|
||||
RtosSharedMem<T>::RtosSharedMem()
|
||||
{
|
||||
}
|
||||
|
||||
template <typename T>
|
||||
RtosSharedMem<T>::RtosSharedMem(uint32_t timeout /* = osWaitForever */)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user