diff --git a/os/various/cpp_wrappers/ch.hpp b/os/various/cpp_wrappers/ch.hpp index 4ffa7e537..49d33a4cb 100644 --- a/os/various/cpp_wrappers/ch.hpp +++ b/os/various/cpp_wrappers/ch.hpp @@ -2946,7 +2946,7 @@ namespace chibios_rt { /** * @brief Template class encapsulating a pool of threads. */ - template + template class ThreadsPool : public BaseDynamicThread { THD_WORKING_AREA(working_areas, S)[N]; MemoryPool threads_pool; @@ -2975,7 +2975,7 @@ namespace chibios_rt { void _thd_start(void *arg); return ThreadReference(chThdCreateFromMemoryPool(&threads_pool.pool, - "", + C, prio, _thd_start, this)); @@ -3017,7 +3017,6 @@ namespace chibios_rt { Heap(Heap &&) = default; Heap &operator=(Heap &&) = default; - /** * @brief Allocates an object from a heap. * @pre The heap must be already been initialized.