Split code into two snippets
This commit is contained in:
@@ -53,7 +53,7 @@ private:
|
|||||||
|
|
||||||
## Implementation for FreeRTOS
|
## Implementation for FreeRTOS
|
||||||
|
|
||||||
Base class implementation:
|
Thread safe queue implementation:
|
||||||
|
|
||||||
```cpp
|
```cpp
|
||||||
///
|
///
|
||||||
@@ -150,7 +150,11 @@ public:
|
|||||||
private:
|
private:
|
||||||
QueueHandle_t mQueueHandle;
|
QueueHandle_t mQueueHandle;
|
||||||
};
|
};
|
||||||
|
```
|
||||||
|
|
||||||
|
Base class implementation:
|
||||||
|
|
||||||
|
```cpp
|
||||||
///
|
///
|
||||||
/// @brief Active object base class
|
/// @brief Active object base class
|
||||||
/// @details Use static polymorphism to avoid virtual function overhead
|
/// @details Use static polymorphism to avoid virtual function overhead
|
||||||
|
|||||||
Reference in New Issue
Block a user