Skip to content

Commit bbf1723

Browse files
committed
Merge branch 'main' of https://github.com/glutio/Taskfun into main
2 parents 54c0ea1 + 64e8b53 commit bbf1723

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ void setupTasks(int numTasks = 3, int msSlice = 1);
5454
```
5555
`numTasks` - number of tasks to initialize the internal task list with (+1 for the main `loop()`). The list will automatically grow (but not shrink) if you add more tasks, but that involves allocating new memory for a bigger list and copying the old list to the new one. Try to avoid this by specifying the expected number of tasks.
5656

57-
`msSlice` - number milliseconds in a time slice. How long to allow a task to run before automatically switching to a different task (if there are any other tasks).
57+
`msSlice` - number of milliseconds in a time slice. How long to allow a task to run before automatically switching to a different task (if there are any other tasks).
5858

5959
**Known Issue** - on Seeeduino XIAO add `delay(500)` as the first line of the `setup()` function in your sketch before calling `setupTasks()`
6060

0 commit comments

Comments
 (0)