Skip to content

Commit eecc809

Browse files
committed
- Fixing Thread
1 parent 7196b8e commit eecc809

File tree

3 files changed

+3
-4
lines changed

3 files changed

+3
-4
lines changed

src/ESPressio_IThread.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ namespace ESPressio {
2828
You can use it to reference any Thread Type without knowing the actual type.
2929
*/
3030
template <typename Derived>
31-
class IThread : public IObject<Derived> {
31+
class IThread : public IObject {
3232
public:
3333
// Methods
3434

src/ESPressio_Thread.hpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,7 @@ namespace ESPressio {
2020
`Thread` is a class that represents a "standard" Thread in the system.
2121
It is a wrapper around the system's Thread API, designed to make them much easier to use.
2222
*/
23-
template <typename Derived>
24-
class Thread : public IThread<Derived>, public Object<Derived> {
23+
class Thread : public IThread, public Object {
2524
private:
2625
// Type Definitions
2726

src/ESPressio_ThreadGarbageCollector.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace ESPressio {
1111

1212
namespace Threads {
1313

14-
class ThreadGarbageCollector : Thread<ThreadGarbageCollector> {
14+
class ThreadGarbageCollector : Thread {
1515
private:
1616
// A semaphore for our loop to wait on (so that it doesn't consume CPU cycles when there's nothing to do).
1717
SemaphoreHandle_t _semaphore = xSemaphoreCreateBinary();

0 commit comments

Comments
 (0)