编译不同固件时候 对字符串处理不一样 造成 不同固件加载配置出问题,
直接占满 ConfiBlock Name 大小 固定名称,测试可用
This commit is contained in:
parent
316edf267b
commit
e793d1c528
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue