debug DG102
This commit is contained in:
parent
8a947977f5
commit
c680978701
@ -145,7 +145,6 @@ void Uart::WritePanId2Zigbee(unsigned short pad) {
|
||||
zlog_info(zct, "WritePanId2Zigbee : %d", pad);
|
||||
unsigned short pad1 = pad, tmp;
|
||||
tmp = GlobalConfig::Zigbee_G.MyAddr;
|
||||
zlog_info(zct, "MyAddr : %d", GlobalConfig::Zigbee_G.MyAddr);
|
||||
swap((char *)&pad1);
|
||||
GlobalConfig::Zigbee_G.PanID = pad1;
|
||||
modify_info(tmp, (char *)&GlobalConfig::Zigbee_G);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user