From 78df5b0e42b51a255456b3d28ff63baaa984b6ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E7=9F=B3=E5=A4=B4X2?= Date: Tue, 10 Jan 2017 16:35:16 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E8=AF=95=E7=89=88=E4=B8=8D=E8=A6=81?= =?UTF-8?q?=E8=BF=9B=E5=85=A5=E4=BD=8E=E5=8A=9F=E8=80=97=E6=A8=A1=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Board/AP0801.cpp | 2 +- Board/AP0802.cpp | 2 +- Board/BaseBoard.cpp | 2 +- Board/IOK026X.cpp | 2 +- Board/IOK027X.cpp | 4 ++-- Board/IOK0612.cpp | 4 ++-- Board/Pandora.cpp | 2 +- 7 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Board/AP0801.cpp b/Board/AP0801.cpp index ce58b620..ba38b843 100644 --- a/Board/AP0801.cpp +++ b/Board/AP0801.cpp @@ -62,10 +62,10 @@ void AP0801::Init(ushort code, cstring name, COM message) WatchDog::Start(20000, 10000); #else WatchDog::Start(); -#endif // 系统休眠时自动进入低功耗 Power::AttachTimeSleep(); +#endif // Flash最后一块作为配置区 Config::Current = &Config::CreateFlash(); diff --git a/Board/AP0802.cpp b/Board/AP0802.cpp index c3ed4b48..c66c1141 100644 --- a/Board/AP0802.cpp +++ b/Board/AP0802.cpp @@ -49,10 +49,10 @@ void AP0802::Init(ushort code, cstring name, COM message) WatchDog::Start(20000, 10000); #else WatchDog::Start(); -#endif // 系统休眠时自动进入低功耗 Power::AttachTimeSleep(); +#endif // Flash最后一块作为配置区 Config::Current = &Config::CreateFlash(); diff --git a/Board/BaseBoard.cpp b/Board/BaseBoard.cpp index d7a1f72c..f688d7dd 100644 --- a/Board/BaseBoard.cpp +++ b/Board/BaseBoard.cpp @@ -32,10 +32,10 @@ void BaseBoard::Init(ushort code, cstring name, COM message) WatchDog::Start(20000, 10000); #else WatchDog::Start(); -#endif // 系统休眠时自动进入低功耗 Power::AttachTimeSleep(); +#endif // Flash最后一块作为配置区 Config::Current = &Config::CreateFlash(); diff --git a/Board/IOK026X.cpp b/Board/IOK026X.cpp index 1a9241d9..20c339cf 100644 --- a/Board/IOK026X.cpp +++ b/Board/IOK026X.cpp @@ -50,10 +50,10 @@ void IOK026X::Init(ushort code, cstring name, COM message) WatchDog::Start(20000, 10000); #else WatchDog::Start(); -#endif // 系统休眠时自动进入低功耗 Power::AttachTimeSleep(); +#endif // Flash最后一块作为配置区 Config::Current = &Config::CreateFlash(); diff --git a/Board/IOK027X.cpp b/Board/IOK027X.cpp index e7c4089d..6eed2866 100644 --- a/Board/IOK027X.cpp +++ b/Board/IOK027X.cpp @@ -49,10 +49,10 @@ void IOK027X::Init(ushort code, cstring name, COM message) WatchDog::Start(20000, 10000); #else WatchDog::Start(); -#endif // 系统休眠时自动进入低功耗 - //Power::AttachTimeSleep(); + Power::AttachTimeSleep(); +#endif // Flash最后一块作为配置区 Config::Current = &Config::CreateFlash(); diff --git a/Board/IOK0612.cpp b/Board/IOK0612.cpp index 847eab4c..c2d09d11 100644 --- a/Board/IOK0612.cpp +++ b/Board/IOK0612.cpp @@ -51,10 +51,10 @@ void IOK0612::Init(ushort code, cstring name, COM message) WatchDog::Start(20000, 10000); #else WatchDog::Start(); -#endif // 系统休眠时自动进入低功耗 - //Power::AttachTimeSleep(); + Power::AttachTimeSleep(); +#endif // Flash最后一块作为配置区 Config::Current = &Config::CreateFlash(); diff --git a/Board/Pandora.cpp b/Board/Pandora.cpp index d6e3a321..14c1ef3b 100644 --- a/Board/Pandora.cpp +++ b/Board/Pandora.cpp @@ -44,10 +44,10 @@ void PA0903::Init(ushort code, cstring name, COM message) #if DEBUG sys.MessagePort = message; // 指定printf输出的串口 Sys.ShowInfo(); -#endif // 系统休眠时自动进入低功耗 Power::AttachTimeSleep(); +#endif // Flash最后一块作为配置区 Config::Current = &Config::CreateFlash();