mirror of
https://gitee.com/cosyos/cosyos.git
synced 2026-08-18 09:08:13 +08:00
update Demo/8051/demo_main.c.
Signed-off-by: 零中断延迟的RTOS <cosyos@139.com>
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
* @file demo_main.c
|
||||
* @brief 例程-主函数 for STC8H
|
||||
* @author 迟凯峰
|
||||
* @version V1.0.1
|
||||
* @date 2025.06.07
|
||||
* @version V1.0.2
|
||||
* @date 2025.08.08
|
||||
******************************************************************************/
|
||||
|
||||
#if 0 // 编译开关
|
||||
#if 0 /* 编译开关 */
|
||||
|
||||
#include "CosyOS.H" // 用户的各个c文件中应包含此文件
|
||||
#include <stdio.h> // for printf
|
||||
@@ -25,7 +25,7 @@ int main(void)
|
||||
}// 在 mcucfg_8051.h 中,PendSV中断 配置为 INT0中断。
|
||||
|
||||
/* USER DEBUG CONFIG */// for CosyOS-Taskmgr
|
||||
#if SYSCFG_DEBUGGING == 1
|
||||
#if (SYSCFG_DEBUGGING == 1)
|
||||
if(1){
|
||||
void Debug_Config(void);
|
||||
Debug_Config();
|
||||
|
||||
Reference in New Issue
Block a user