编译不同固件时候 对字符串处理不一样 造成 不同固件加载配置出问题,

直接占满 ConfiBlock Name 大小  固定名称,测试可用
This commit is contained in:
WangQiang 2016-04-14 03:58:31 +00:00
parent 316edf267b
commit e793d1c528
1 changed files with 2 additions and 1 deletions

View File

@ -2,10 +2,11 @@
#include "BootConfig.h"
BootConfig* BootConfig::Current = nullptr;
const char bootName[] = {'B','o','o','t', 'C','f','g','\0'};
BootConfig::BootConfig() :ConfigBase()
{
_Name = "Boot";
_Name = bootName;
_Start = &Stat;
_End = &TagEnd;