You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 1, 2024. It is now read-only.
The ArduinoThread library seem to have a bug on the ESP32 Platform. Workaround is to copy the lib into the HyperionRGB Project folder or to combine the EnhancedThread.h and EnhancedThread.cpp file.
In file included from sketch\EnhancedThread.cpp:1:0:
EnhancedThread.h:7: error: expected class-name before '{' token
class EnhancedThread : public Thread {
^
sketch\EnhancedThread.cpp: In member function 'void EnhancedThread::run()':
EnhancedThread.cpp:4: error: 'Thread' has not been declared
Thread::run();
^
EnhancedThread.cpp:6: error: 'Thread' has not been declared
Thread::enabled = false;
^
sketch\EnhancedThread.cpp: In member function 'void EnhancedThread::runIfNeeded()':
EnhancedThread.cpp:10: error: 'Thread' has not been declared
if(Thread::shouldRun())
^
EnhancedThread.cpp:11: error: 'Thread' has not been declared
Thread::run();
^
sketch\EnhancedThread.cpp: In member function 'void EnhancedThread::reset()':
EnhancedThread.cpp:15: error: 'Thread' has not been declared
Thread::enabled = true;
^
EnhancedThread.cpp:16: error: 'Thread' has not been declared
Thread::runned();
^
sketch\EnhancedThread.cpp: In member function 'long unsigned int EnhancedThread::getInterval()':
EnhancedThread.cpp:23: error: 'interval' was not declared in this scope
return interval;
^
The ArduinoThread library seem to have a bug on the ESP32 Platform. Workaround is to copy the lib into the HyperionRGB Project folder or to combine the EnhancedThread.h and EnhancedThread.cpp file.
@ivanseidel
The text was updated successfully, but these errors were encountered: