Skip to content

Commit

Permalink
Merge pull request #392 from Amazingkenneth/master
Browse files Browse the repository at this point in the history
Update ci.yml and format doc/05.SDK_Manual.md
  • Loading branch information
Amazingkenneth committed Aug 14, 2023
2 parents 2fbee6a + 17b21f7 commit ced4c07
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 9 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]
with:
Expand Down
4 changes: 2 additions & 2 deletions doc/05.SDK_Manual.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit ced4c07

Please sign in to comment.