From 7452caaf72fd96da74c6e781b5c916b01a799afd Mon Sep 17 00:00:00 2001 From: nnhy Date: Sat, 23 Jan 2016 09:27:19 +0000 Subject: [PATCH] =?UTF-8?q?Sys=E8=BF=98=E6=98=AF=E4=B8=8D=E8=83=BD?= =?UTF-8?q?=E5=B8=B8=E9=87=8F=E5=8C=96=EF=BC=8C=E5=90=A6=E5=88=99=E5=90=84?= =?UTF-8?q?=E4=B8=AA=E9=A1=B9=E7=9B=AE=E7=9A=84Sys.Start=E5=B0=B1=E4=BC=9A?= =?UTF-8?q?=E6=8A=A5=E9=94=99?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Sys.cpp | 2 +- Sys.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Sys.cpp b/Sys.cpp index 4902e301..4088d90b 100644 --- a/Sys.cpp +++ b/Sys.cpp @@ -5,7 +5,7 @@ #include "Platform\stm32.h" -const TSys Sys; +TSys Sys; const TTime Time; extern uint __heap_base; diff --git a/Sys.h b/Sys.h index 7aae6aca..0c072705 100644 --- a/Sys.h +++ b/Sys.h @@ -109,7 +109,7 @@ public: void Start(); // 开始系统大循环 }; -extern const TSys Sys; //创建一个全局的Sys对象 会在main函数之前执行构造函数(!!!!!) +extern TSys Sys; //创建一个全局的Sys对象 会在main函数之前执行构造函数(!!!!!) //#include "Time.h" #include "Interrupt.h"