硬汉嵌入式论坛

 找回密码
 立即注册
查看: 5124|回复: 1
收起左侧

[μCOS-III] μCOS-III源码中的错误整理贴

[复制链接]

1万

主题

6万

回帖

10万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
107049
QQ
发表于 2014-3-11 15:15:35 | 显示全部楼层 |阅读模式
μCOS-III V3.03.01
========================================================================
1. os_core.c文件函数void  OSSchedUnlock (OS_ERR  *p_err)的注释:
  
  OS_ERR_NONE
  OS_ERR_OS_NOT_RUNNING         The scheduler has been enabled    这句注释错了,应该是系统还没有开始运行
  OS_ERR_SCHED_LOCKED               The scheduler is still locked, still nested
  OS_ERR_SCHED_NOT_LOCKED     The scheduler was not locked
  OS_ERR_SCHED_UNLOCK_ISR       If you called this function from an ISR.
回复

使用道具 举报

1万

主题

6万

回帖

10万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
107049
QQ
 楼主| 发表于 2014-3-13 19:37:41 | 显示全部楼层
======================================================================

2. os_core.c文件函数void  OS_RdyListRemove (OS_TCB  *p_tcb)的注释:
Returns    : A pointer to the OS_RDY_LIST where the OS_TCB was    //这个函数没有返回值
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|小黑屋|Archiver|手机版|硬汉嵌入式论坛

GMT+8, 2024-5-15 21:36 , Processed in 0.157785 second(s), 25 queries .

Powered by Discuz! X3.4 Licensed

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表