Split code into two snippets
This commit is contained in:
parent
bd1758c416
commit
6ec4ad6596
@ -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
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user