From 6ec4ad6596d1e0b96d16ce0d531c1dba772a02b6 Mon Sep 17 00:00:00 2001 From: "an.tsouchlos" Date: Mon, 14 Apr 2025 14:45:45 +0000 Subject: [PATCH] Split code into two snippets --- cpp/freertos-active-object.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cpp/freertos-active-object.md b/cpp/freertos-active-object.md index c10d8ac..8df842d 100644 --- a/cpp/freertos-active-object.md +++ b/cpp/freertos-active-object.md @@ -53,7 +53,7 @@ private: ## Implementation for FreeRTOS -Base class implementation: +Thread safe queue implementation: ```cpp /// @@ -150,7 +150,11 @@ public: private: QueueHandle_t mQueueHandle; }; +``` +Base class implementation: + +```cpp /// /// @brief Active object base class /// @details Use static polymorphism to avoid virtual function overhead