Merge pull request #392 from Amazingkenneth/master

Update ci.yml and format doc/05.SDK_Manual.md
This commit is contained in:
Amazingkenneth 2023-08-14 17:22:59 +08:00 committed by GitHub
commit ced4c07bc7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 9 deletions

View File

@ -12,13 +12,6 @@ jobs:
ref: ${{ github.head_ref }}
ssh-key: ${{ secrets.ACTION_PUSH }}
- name: Use lint-md to format Markdown
# For issues of Chinese characters in prettier:
# https://github.com/prettier/prettier/blob/e22a5516f5b2c44e6d68be4c0a7ba0b32c1b9f86/website/blog/2023-07-05-3.0.0.md?plain=1#L27
run: |
npm install --save-dev --save-exact @lint-md/cli
lint-md ./**/* --fix
- name: Prettify code
uses: creyD/prettier_action@v4.3
with:

View File

@ -191,7 +191,7 @@ k_err_t tos_task_create(k_task_t *task,
K_ERR_OBJ_PTR_NULL传入的指针中包含有NULL指针
K_ERR_TASK_ALREADY_CREATED 该任务已经被创建
### tos_task_create_dyn
```c
@ -293,7 +293,7 @@ k_err_t tos_task_destroy_dyn(k_task_t *task)
K_ERR_SCHED_LOCKED 已经上锁且删除当前任务(非法 导致死锁)
K_ERR_OBJ_INVALID_ALLOC_TYPE 删除的任务不是一个dynamic创建的task!
### tos_task_delay
```c