Skip to content

Commit 2d2a74e

Browse files
authored
Merge pull request #81 from balaji303/patch-1
Added vTaskDelay to TaskLed Function
2 parents 46c65de + de7e463 commit 2d2a74e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/Interrupts/Interrupts.ino

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,6 @@ void TaskLed(void *pvParameters)
7373
if (xSemaphoreTake(interruptSemaphore, portMAX_DELAY) == pdPASS) {
7474
digitalWrite(LED_BUILTIN, !digitalRead(LED_BUILTIN));
7575
}
76-
76+
vTaskDelay(10);
7777
}
7878
}

0 commit comments

Comments
 (0)