We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8a52837 commit b3717beCopy full SHA for b3717be
1 file changed
lib/pbio/include/pbio/os.h
@@ -48,6 +48,9 @@
48
*
49
* The code in this file stems from Contiki's implementation of protothreads as
50
* listed above. This adaptation changes the API to work better with Pybricks.
51
+ *
52
+ * Caution: it is conceptually very similar to Contiki but it cannot be used as
53
+ * a drop-in replacement.
54
*/
55
56
#ifndef _PBIO_OS_H_
@@ -149,8 +152,6 @@ struct _pbio_os_process_t {
149
152
* This macro is used for declaring that a protothread ends. It must
150
153
* always be used together with a matching ASYNC_BEGIN() macro.
151
154
- * NB: In contrast to Contiki, this does not call ASYNC_INIT() before exiting.
- *
155
* @param [in] err Error code to return.
156
157
#define ASYNC_END(err) PB_LC_END(); return err; }
0 commit comments