ftrias / TeensyThreads

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

threadsInfo missing last thread

mariosgit opened this issue · comments

threadinfo should loop to thread_count+1

Because thread 0 is the main loop, ...makes it one more.

Around line 755 in TeensyThreads.cpp

char *Threads::threadsInfo(void)
...
  for (int each_thread = 0; each_thread < thread_count+1; each_thread++)
...

Just saw #38 is similar.