From bec30f58b43c0d4d03e82130205c6857a403cfe1 Mon Sep 17 00:00:00 2001 From: Martino Facchin Date: Thu, 1 Oct 2020 16:07:42 +0200 Subject: [PATCH] Make QUEUE_SIZE selectable from template --- src/Arduino_Threads.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/Arduino_Threads.h b/src/Arduino_Threads.h index 704184e..6b2a6f9 100644 --- a/src/Arduino_Threads.h +++ b/src/Arduino_Threads.h @@ -3,8 +3,7 @@ #include - -template +template class Shared // template definition { public: @@ -45,7 +44,6 @@ class Shared // template definition return peek(); } private: - static size_t constexpr QUEUE_SIZE = 16; T val; rtos::MemoryPool memory_pool;