修正设备harID 初始化使用自己长度的bug

This commit is contained in:
cdyong 2016-03-17 03:06:14 +00:00
parent 4cd56f981e
commit 0794facec5
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
/******************************** Device ********************************/ /******************************** Device ********************************/
Device::Device() : Device::Device() :
HardID(_HardID, ArrayLength(HardID)), HardID(_HardID, sizeof(_HardID)),
Mac(_Mac, ArrayLength(_Mac)), Mac(_Mac, ArrayLength(_Mac)),
Name(_Name, ArrayLength(_Name)), Name(_Name, ArrayLength(_Name)),
Pass(_Pass, ArrayLength(_Pass)), Pass(_Pass, ArrayLength(_Pass)),