This commit is contained in:
WangQiang 2016-08-20 00:36:57 +00:00
parent e3412da77a
commit a4dd9ca2f4
2 changed files with 2 additions and 2 deletions

View File

@ -32,7 +32,7 @@ TSys::TSys()
OnSleep = nullptr;
Code = 0x0000;
Ver = 0x17AE;
Ver = 0x17BC;
#ifndef TINY
Name = "SmartOS";
Company = "NewLife_Embedded_Team";

View File

@ -873,7 +873,7 @@ void TokenClient::OnWrite(const TokenMessage& msg, TokenController* ctrl)
if(rt)
{
dm.Start = 0;
dm.Size = Store.Data.Length;
dm.Size = Store.Data.Length();
//dm.Size = 0;
dm.Data = Store.Data;
}