update Demo/8051/demo_main.c.

Signed-off-by: 零中断延迟的RTOS <cosyos@139.com>
This commit is contained in:
零中断延迟的RTOS
2025-08-08 06:03:20 +00:00
committed by Gitee
parent 6141aa70cc
commit 897247a311
+4 -4
View File
@@ -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();