Skip to content

Commit 00f2cdc

Browse files
committed
TEMP: deactivate task killer
1 parent 59fa5dc commit 00f2cdc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Arduino_Threads.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,9 @@ class ArduinoThreadClass {
5757
while (1) {
5858
for (int i = 0; i < idx; i++) {
5959
if (millis() - timestamps[i] > 5000) {
60-
list[i]->terminate();
60+
// list[i]->terminate();
6161
// TODO: reorder threads and make list[i] == NULL
62-
Serial.println(list[i]->get_name() + String(" killed "));
62+
// Serial.println(list[i]->get_name() + String(" killed "));
6363
}
6464
}
6565
delay(1000);

0 commit comments

Comments
 (0)