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
The code formatting in the Object Management Markdown document
is misaligned. This issue can be fixed by replacing tabs with spaces.
Signed-off-by: Chen Wang <[email protected]>
if (result == RT_EOK) rt_thread_startup(&thread1);
@@ -67,8 +67,8 @@ int thread_sample_init()
67
67
* Stack space is 512, priority is 250, and time slice is 25 OS Tick
68
68
*/
69
69
thread2_ptr = rt_thread_create("thread2",
70
-
thread2_entry, RT_NULL,
71
-
512, 250, 25);
70
+
thread2_entry, RT_NULL,
71
+
512, 250, 25);
72
72
73
73
/* Start thread */
74
74
if (thread2_ptr != RT_NULL) rt_thread_startup(thread2_ptr);
@@ -157,8 +157,8 @@ An uninitialized static object must be initialized before it can be used. The in
157
157
158
158
```c
159
159
voidrt_object_init(struct rt_object* object ,
160
-
enum rt_object_class_type type ,
161
-
const char* name)
160
+
enum rt_object_class_type type ,
161
+
const char* name)
162
162
```
163
163
164
164
When this function is called to initialize the object, the system will place the object into the object container for management, that is, initialize some parameters of the object, and then insert the object node into the object linked list of the object container.
0 commit comments