修正设备harID 初始化使用自己长度的bug
This commit is contained in:
parent
4cd56f981e
commit
0794facec5
|
@ -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)),
|
||||||
|
|
Loading…
Reference in New Issue