debug DG102

This commit is contained in:
zhangsheng 2024-11-20 20:53:15 +08:00
parent 8a947977f5
commit c680978701
3 changed files with 1 additions and 2 deletions

BIN
Cidn-SH

Binary file not shown.

View File

@ -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);