mjs513
Senior Member+
@tni
Made the changes to threads.cpp and the sketch but now getting the following errors. Did you make any changes to threads.h? I did add void ctx_switch_timer_isr(void); to threads.h since you renamed the function. (just for ref I downloaded the intervalTimer lib from https://github.com/loglow/IntervalTimer.git)
Made the changes to threads.cpp and the sketch but now getting the following errors. Did you make any changes to threads.h? I did add void ctx_switch_timer_isr(void); to threads.h since you renamed the function. (just for ref I downloaded the intervalTimer lib from https://github.com/loglow/IntervalTimer.git)
Code:
C:\Users\CyberPalin\Documents\Arduino\libraries\TeensyThreads-master\Threads.h:190:7: error: 'int Threads::thread_active' is protected
int thread_active;
^
C:\Users\CyberPalin\Documents\Arduino\libraries\TeensyThreads-master\Threads.cpp:102:15: error: within this context
if (threads.thread_active == Threads::STARTED) { // switch only if active
^
Last edited: