You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -91,9 +91,13 @@ Then add it to task manager during setup or as needed:
91
91
92
92
After this the callback (or event object) registered in the TmLongSchedule will be called whenever scheduled.
93
93
94
-
From 1.2.1 onwards reentrant locking has been added, if you have a shared resource that you need to lock around, you can do this in tasks. See the reentrantLocking example for more details.
94
+
To enable or disable a task
95
95
96
-
As of V1.1 - Arduino Only - If you want to use the legacy interrupt marshalling support instead of building an event you must additionally include the following:
96
+
taskManager.setTaskEnabled(taskId, enabled);
97
+
98
+
If you have a shared resource that you need to lock around, you can do this in tasks. See the reentrantLocking example for more details.
99
+
100
+
Arduino Only - If you want to use the legacy interrupt marshalling support instead of building an event you must additionally include the following:
0 commit comments