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 */
|
using Message = T; /**< message type */
|
||||||
|
|
||||||
public:
|
public:
|
||||||
// Default Constructor
|
|
||||||
RtosSharedMem();
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Create a memory pool. And allocates exavlty one block.
|
* @brief Create a memory pool. And allocates exavlty one block.
|
||||||
*
|
*
|
||||||
* @param timeout names the timeout in milliseconds.
|
* @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.
|
* @brief Destroy the Rtos Mem Pool object and frees the memory.
|
||||||
|
@ -10,11 +10,6 @@
|
|||||||
|
|
||||||
namespace sta
|
namespace sta
|
||||||
{
|
{
|
||||||
template <typename T>
|
|
||||||
RtosSharedMem<T>::RtosSharedMem()
|
|
||||||
{
|
|
||||||
}
|
|
||||||
|
|
||||||
template <typename T>
|
template <typename T>
|
||||||
RtosSharedMem<T>::RtosSharedMem(uint32_t timeout /* = osWaitForever */)
|
RtosSharedMem<T>::RtosSharedMem(uint32_t timeout /* = osWaitForever */)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user