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();